hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3891) "fs -setrep" should have better error message
Date Fri, 01 Aug 2008 23:37:31 GMT

     [ 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.


Mime
View raw message