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

Configurable replication factor in the hadoop archive command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • None
    • None

    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.patch
          4 kB
          Zhe Zhang
        3. HDFS-6968-2.patch
          6 kB
          Zhe Zhang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: