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

Hadoop archives command should use configurable replication factor when closing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HadoopArchives#HArchivesReducer#close uses hard-coded replication factor. It should use repl instead, which is parsed from command line parameters.

            // try increasing the replication 
            fs.setReplication(index, (short) 5);
            fs.setReplication(masterIndex, (short) 5);
          }
      

        Attachments

        1. 0002-HADOOP-12017.patch
          4 kB
          Bibin A Chundatt
        2. 0003-HADOOP-12017.patch
          4 kB
          Bibin A Chundatt
        3. 0003-HADOOP-12017.patch
          4 kB
          Bibin A Chundatt
        4. 0004-HADOOP-12017.patch
          4 kB
          Bibin A Chundatt
        5. 0005-HADOOP-12017.patch
          6 kB
          Bibin A Chundatt
        6. 0006-HADOOP-12017.patch
          6 kB
          Bibin A Chundatt
        7. 0007-HADOOP-12017.patch
          6 kB
          Bibin A Chundatt
        8. 0008-HADOOP-12017.patch
          6 kB
          Bibin A Chundatt
        9. 0009-HADOOP-12017.patch
          7 kB
          Bibin A Chundatt
        10. 0010-HADOOP-12017.patch
          7 kB
          Bibin A Chundatt
        11. 0011-HADOOP-12017.patch
          7 kB
          Bibin A Chundatt
        12. 0012-HADOOP-12017.patch
          7 kB
          Bibin A Chundatt

          Issue Links

            Activity

              People

              • Assignee:
                bibinchundatt Bibin A Chundatt
                Reporter:
                zhz Zhe Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: