[
https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513323
]
Hairong Kuang commented on HADOOP-1595:
---------------------------------------
The code looks good. The only thing that I am concerned about is its
efficiency. The code checks if a block is fully replicated by asking the
block's locations from a namenode. This requires a request to the namenode for
each block. I think it would be more efficient if we get all blocks' locations
of a file in one request.
> Add an option to setReplication method to wait for completion of replication
> -----------------------------------------------------------------------------
>
> Key: HADOOP-1595
> URL: https://issues.apache.org/jira/browse/HADOOP-1595
> Project: Hadoop
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.14.0
> Reporter: Christian Kunz
> Attachments: 1595_20070716b.patch
>
>
> Currently setReplication requested by a client returns immediately, without
> waiting for completion of replication. There are situations where the client
> would like to know when the replication is actually done.
> This option should be available in fs shell and libhdfs (see HADOOP-1551).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.