You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/18 22:16:10 UTC
[jira] [Commented] (HDFS-328) "fs -setrep" should have better error
message
[ https://issues.apache.org/jira/browse/HDFS-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066822#comment-14066822 ]
Allen Wittenauer commented on HDFS-328:
---------------------------------------
Just verified that in 3.x trunk this error message is still broken:
{code}
$hdfs dfs -setrep 10000 /hosts
setrep: file /hosts.
{code}
> "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: Ravi Phulari
> Labels: newbie
>
> 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.2#6252)