You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Dmytro Molkov (JIRA)" <ji...@apache.org> on 2010/10/01 01:19:34 UTC

[jira] Resolved: (HDFS-1155) getDatanodeReport can be moved to NameNodeProtocol from ClientProtocol

     [ https://issues.apache.org/jira/browse/HDFS-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Molkov resolved HDFS-1155.
---------------------------------

    Resolution: Not A Problem

I will deal with this in HDFS-1156

> 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
>            Assignee: 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.