You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2013/09/14 05:10:04 UTC

[jira] [Created] (HDFS-5207) In BlockPlacementPolicy, the type of writer in parameters of chooseTarget() should be updated from DatanodeDescriptor to Node

Junping Du created HDFS-5207:
--------------------------------

             Summary: In BlockPlacementPolicy, the type of writer in parameters of chooseTarget() should be updated from DatanodeDescriptor to Node
                 Key: HDFS-5207
                 URL: https://issues.apache.org/jira/browse/HDFS-5207
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: namenode
            Reporter: Junping Du
            Assignee: Junping Du


We should change chooseTarget(..., DatanodeDescriptor writer, ...) to chooseTarget (..., node writer, ...) as the only important property of writer is to identify other nodes' location relationship so more generic one could be better. It also helps to cover cases that client node is not a Datanode also.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira