[ https://issues.apache.org/jira/browse/HADOOP-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462657 ]
Hadoop QA commented on HADOOP-842: ---------------------------------- +1, because http://issues.apache.org/jira/secure/attachment/12348421/open1.patch applied and successfully tested against trunk revision r493236. > change the open method in ClientProtocol to take an additional argument: > clientMachine > -------------------------------------------------------------------------------------- > > Key: HADOOP-842 > URL: https://issues.apache.org/jira/browse/HADOOP-842 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Affects Versions: 0.9.2 > Reporter: Hairong Kuang > Assigned To: Hairong Kuang > Fix For: 0.11.0 > > Attachments: open.patch, open1.patch > > > The open method returns a list of blocks that belong to a file and, for each > block, a list of datanodes that contain the block.To improve reading > efficiency, I'd like to return the list of datanodes in the order of its > distance to the client machine. So I suggest that we make the open method to > take an additional argument clientMachine which is in the format of > hostname:port#. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira