You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/08/02 01:37:31 UTC

[jira] Updated: (HADOOP-3891) "fs -setrep" should have better error message

     [ https://issues.apache.org/jira/browse/HADOOP-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-3891:
-------------------------------------------

    Description: 
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}

  was:
When the replication # is large 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}


> "fs -setrep" should have better error message
> ---------------------------------------------
>
>                 Key: HADOOP-3891
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3891
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.