[ http://issues.apache.org/jira/browse/HADOOP-561?page=all ]
Doug Cutting updated HADOOP-561: -------------------------------- Status: Resolved (was: Patch Available) Fix Version/s: 0.8.0 Resolution: Fixed I just committed this. Thanks, Dhruba! > one replica of a file should be written locally if possible > ----------------------------------------------------------- > > Key: HADOOP-561 > URL: http://issues.apache.org/jira/browse/HADOOP-561 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: Yoram Arnon > Assigned To: dhruba borthakur > Fix For: 0.8.0 > > Attachments: localreplica.patch > > > one replica of a file should be written locally if possible. That's currently > not the case. > Copying a 1GB file using hadoop dfs -cp running on one of the cluster nodes, > all the blocks were written to remote nodes, as seen by fsck -files -blocks > -locations on the newly created file. > as long as there is sufficient space locally, a local copy has significant > performance benefits. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira