[ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-1595: ------------------------------------------- Attachment: 1595_20070717.patch - Thank you for your comment, Hairong. I have changed the code, so that it wait file by file instead of block by block in this patch. - Also thank you for your comment, Koji. By fsck, I think you mean NamenodeFsck, which only has two public methods. One of them is fsck() which check the whole file system. The class does not provide a way to check a single file, which can be easily done by FileSystem.getFileCacheHints. - The other public method in NamenodeFsck is run() which is empty. I have removed it in this patch. > 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_20070717.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.