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