getDatanodeReport can be moved to NameNodeProtocol from ClientProtocol ----------------------------------------------------------------------
Key: HDFS-1155 URL: https://issues.apache.org/jira/browse/HDFS-1155 Project: Hadoop HDFS Issue Type: Improvement Reporter: Dmytro Molkov Right now getDatanodeReport is being used in only two places in the HDFS code: the Balancer and DFSAdmin. And it is the only reason for these classes to use DFSClient. If we would move the method definition (or copy for now deprecating the old location) to the NameNode protocol DFSAdmin and Balancer will not rely on DFSClient anymore and will be cleaner. This will also help the Balancer to run cleaner against HDFS-599 changes. Thoughts? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.