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

Hadoop archives command should use configurable replication factor when closing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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 Chundatt
        2. 0003-HADOOP-12017.patch
          4 kB
          Bibin Chundatt
        3. 0003-HADOOP-12017.patch
          4 kB
          Bibin Chundatt
        4. 0004-HADOOP-12017.patch
          4 kB
          Bibin Chundatt
        5. 0005-HADOOP-12017.patch
          6 kB
          Bibin Chundatt
        6. 0006-HADOOP-12017.patch
          6 kB
          Bibin Chundatt
        7. 0007-HADOOP-12017.patch
          6 kB
          Bibin Chundatt
        8. 0008-HADOOP-12017.patch
          6 kB
          Bibin Chundatt
        9. 0009-HADOOP-12017.patch
          7 kB
          Bibin Chundatt
        10. 0010-HADOOP-12017.patch
          7 kB
          Bibin Chundatt
        11. 0011-HADOOP-12017.patch
          7 kB
          Bibin Chundatt
        12. 0012-HADOOP-12017.patch
          7 kB
          Bibin Chundatt

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: