Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-328

"fs -setrep" should have better error message

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When the replication # is larger than dfs.replication.max (defined in conf), "fs -setrep" shows a meaningless error message. For example,

      //dfs.replication.max is 512
      
      $ hadoop fs -setrep 1000 r.txt
      setrep: java.io.IOException: file /user/tsz/r.txt.
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ravi Phulari
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development