You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Christian Kunz (JIRA)" <ji...@apache.org> on 2007/07/11 22:13:04 UTC

[jira] Created: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

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


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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070716.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
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070803.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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070806.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070809.patch

- changed error messages

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070809.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070809.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Koji Noguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513349 ] 

Koji Noguchi commented on HADOOP-1595:
--------------------------------------

I'm not familiar with hadoop codes, but for this problem can we use 'fsck' and check if the file is under-replicated?

If the logic is the same, maybe we can have shared utility that both could share.

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


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514105 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12362177/1595_20070717b.patch applied and successfully tested against trunk revision r557790.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/441/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/441/console

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070731.patch

Same logic, updated with trunk, added a test for decreasing setrep

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070716.patch

- added a "-w" option in the "fs -setrep" command so that if "-w" is set, the shell will not return until the new replication level have achieved.

- added a junit test for this new feature

> 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_20070716.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HADOOP-1595:
-------------------------------------

    Status: Open  (was: Patch Available)

Please add testcase to test the case when replication factor is decreased.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070803.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

re-test the same 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070716b.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
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

- the waiting time (if -w is set) for decreasing replication may take a long time since default dfs.blockreport.intervalMsec is 1hour.

- set dfs.blockreport.intervalMsec to 1 second in the tests.

- added a warning message if -w is set for decreasing replication.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070808.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070802.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.


[jira] Issue Comment Edited: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514048 ] 

Tsz Wo (Nicholas), SZE edited comment on HADOOP-1595 at 7/24/07 5:01 PM:
-------------------------------------------------------------------------

Re-test the same patch since the unit test was not stable.  It failed on some un-related tests.


 was:
re-test the same 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516851 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12362936/1595_20070731.patch against trunk revision r561603.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/493/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/493/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517336 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12363072/1595_20070802.patch against trunk revision r562041.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/508/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/508/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070802.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517050 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12362936/1595_20070731.patch against trunk revision r561603.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/501/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/501/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513399 ] 

Hairong Kuang commented on HADOOP-1595:
---------------------------------------

+1 Code looks good.

> 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_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

- it has passed all test in my machine.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070806.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070806.patch

- renamed the test directory name in the junit test

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070806.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515901 ] 

dhruba borthakur commented on HADOOP-1595:
------------------------------------------

It would be nice if we can get a unit test that tests the scenario when the replication factor is decreased.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070808.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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070808.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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070808.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070806.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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070731.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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070717b.patch

- add an explicit statement to set default replication to 3 in the junit test

> 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_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070717b.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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070717b.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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Issue Comment Edited: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517630 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12363144/1595_20070803.patch against trunk revision r562294.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/513/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/513/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070803.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070716b.patch

- Hairong pointed out that it is more correct to use csfs.getRawFileSystem() instead of srcFS in FsShell.copyToLocal.  I have made this change.

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


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HADOOP-1595:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Nicholas!

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070809.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HADOOP-1595:
-------------------------------------

    Status: Open  (was: Patch Available)

bin/hadoop dfs -setrep
Usage: java FsShell -setrep [-R] [-w] <rep> <path/file>
Exception in thread "main" java.lang.IllegalArgumentException: Illegal number of arguments
        at org.apache.hadoop.fs.FsShell$CommandFormat.parse(FsShell.java:341)
        at org.apache.hadoop.fs.FsShell.setReplication(FsShell.java:358)
        at org.apache.hadoop.fs.FsShell.run(FsShell.java:1329)
        at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
        at org.apache.hadoop.fs.FsShell.main(FsShell.java:1427)

The user should not see the exception message.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070808.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Assignee: Tsz Wo (Nicholas), SZE
      Status: Patch Available  (was: Open)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070803.patch

I was wrong: it failed on my tests last few times.  The reason is I have a method name beginning with "test" but actually not a junit test.  Then, it failed on that test.

- take setrep test out from TestDFSShell and created TestDFSShellSetrep

- rename a helper method in TestDFSShellSetrep

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070803.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070717b.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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518298 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

+0, new Findbugs warnings

http://issues.apache.org/jira/secure/attachment/12363291/1595_20070806.patch
applied and successfully tested against trunk revision r563577,
but there appear to be new Findbugs warnings introduced by this patch.

New Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/521/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/521/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/521/console

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070806.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070802.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
>            Assignee: Tsz Wo (Nicholas), SZE
>
> 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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516868 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12362936/1595_20070731.patch against trunk revision r561603.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/495/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/495/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-1595:
-------------------------------------------

    Status: Open  (was: Patch Available)

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070806.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517122 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12362936/1595_20070731.patch against trunk revision r561935.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/504/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/504/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070731.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513409 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12362020/1595_20070717b.patch against trunk revision r557050.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/430/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/430/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070717b.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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_20070802.patch

Not sure why it failed on un-related tests.  Remaked patch with current trunk.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070802.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.


[jira] Commented: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518576 ] 

Hadoop QA commented on HADOOP-1595:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12363449/1595_20070808.patch against trunk revision r564012.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/532/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/532/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 1595_20070808.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.


[jira] Updated: (HADOOP-1595) Add an option to setReplication method to wait for completion of replication

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 1595_20070717.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_20070717b.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.