hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-328) Improve fs -setrep error message for invalid replication factors
Date Wed, 02 Sep 2015 22:20:47 GMT

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

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

SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #343 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/343/])
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/src/test/resources/testHDFSConf.xml
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java


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

Mime
View raw message