Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11021

Configurable replication factor in the hadoop archive command

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Due to be below hard-coded replication degree in HadoopArchives, the archive command will fail if HDFS maximum replication has already been configured to a number lower than 10.

          //increase the replication of src files
          jobfs.setReplication(srcFiles, (short) 10);
      

      This Jira will make the archive command configurable with desired replication degree.

        Attachments

        1. HADOOP-11021.path
          6 kB
          Zhe Zhang
        2. HDFS-6968-2.patch
          6 kB
          Zhe Zhang
        3. HDFS-6968.patch
          4 kB
          Zhe Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhz Zhe Zhang
                Reporter:
                zhz Zhe Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: