hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication
Date Tue, 17 Jul 2007 21:47:04 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513373
] 

Tsz Wo (Nicholas), SZE edited comment on HADOOP-1595 at 7/17/07 2:46 PM:
-------------------------------------------------------------------------

- Thank you for your comment, Hairong.  I have changed the code, so that it waits 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.


 was:
- 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.


Mime
View raw message