hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-328) "fs -setrep" should have better error message
Date Wed, 02 Sep 2015 20:43:47 GMT

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

Andrew Wang commented on HDFS-328:
----------------------------------

+1 LGTM, will commit shortly. Thanks Daniel for picking up this longstanding issue!

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