[
https://issues.apache.org/jira/browse/HADOOP-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630330#action_12630330
]
Nigel Daley commented on HADOOP-3891:
-------------------------------------
The fix for this should include some new test cases added to
src/test/org/apache/hadoop/cli/testConf.xml (which is run by TestCLI)
> "fs -setrep" should have better error message
> ---------------------------------------------
>
> Key: HADOOP-3891
> URL: https://issues.apache.org/jira/browse/HADOOP-3891
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: Tsz Wo (Nicholas), SZE
>
> When the replication # is larger than dfs.replication.max (defined in conf),
> "fs -setrep" shows a meaningless error message. For example,
> {noformat}
> //dfs.replication.max is 512
> $ hadoop fs -setrep 1000 r.txt
> setrep: java.io.IOException: file /user/tsz/r.txt.
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.