[ https://issues.apache.org/jira/browse/HADOOP-11021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang updated HADOOP-11021: --------------------------------- Resolution: Fixed Fix Version/s: 2.6.0 Status: Resolved (was: Patch Available) Committed to trunk and branch-2, thanks again Zhe! > Configurable replication factor in the hadoop archive command > ------------------------------------------------------------- > > Key: HADOOP-11021 > URL: https://issues.apache.org/jira/browse/HADOOP-11021 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 2.6.0 > Reporter: Zhe Zhang > Assignee: Zhe Zhang > Priority: Minor > Fix For: 2.6.0 > > Attachments: HADOOP-11021.path, HDFS-6968-2.patch, HDFS-6968.patch > > > 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. > {code:java} > //increase the replication of src files > jobfs.setReplication(srcFiles, (short) 10); > {code} > This Jira will make the {{archive}} command configurable with desired > replication degree. -- This message was sent by Atlassian JIRA (v6.2#6252)