[ 
https://issues.apache.org/jira/browse/HDFS-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728030#comment-14728030
 ] 

Hudson commented on HDFS-328:
-----------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8389 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8389/])
HDFS-328. Improve fs -setrep error message for invalid replication factors. 
Contributed by Daniel Templeton. (wang: rev 
afc88b396f06488c331564e0f6987013bb920d3e)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml


> Improve fs -setrep error message for invalid replication factors
> ----------------------------------------------------------------
>
>                 Key: HDFS-328
>                 URL: https://issues.apache.org/jira/browse/HDFS-328
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Daniel Templeton
>              Labels: newbie
>             Fix For: 2.8.0
>
>         Attachments: HDFS-328.001.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to