[ http://issues.apache.org/jira/browse/HADOOP-561?page=all ]
dhruba borthakur updated HADOOP-561:
------------------------------------
Status: Patch Available (was: Open)
TThis fixed two bugs in chooseTarget(0 that was causing the local machine to
not get oicked as a replica. There was a comparision between UTF8 and String.
> 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
> 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