[
https://issues.apache.org/jira/browse/HADOOP-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HADOOP-3891:
-------------------------------------------
Description:
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}
was:
When the replication # is large 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}
> "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.