hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-328) "fs -setrep" should have better error message
Date Fri, 28 Aug 2015 19:41:46 GMT

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

Daniel Templeton commented on HDFS-328:
---------------------------------------

The failed tests are unrelated to this patch.  The checkstyle warning is about the length
of the file exceeding 2k lines, which was true before the patch.

This one is ready for review.

> "fs -setrep" should have better error message
> ---------------------------------------------
>
>                 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
>         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