Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-199

add replication factor for hdfs directory

    Details

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

      Description

      If we can set replication factor for directory. we can modify the DFSClent.create() method, pass 0 for the default block replication. Namenode check create request, if blockreplication is 0, it will give its parent dir replication factor to the file blockreplication factor. This will simplify the administration work. You know we can set /Test or /Tmp dir's replication factor 2 or 1, then all their children files and dirs replication factor is 2 or 1 defaultly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mry.maillist Ruyue Ma
                Reporter:
                mry.maillist Ruyue Ma
              • Votes:
                7 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated: