[
https://issues.apache.org/jira/browse/HADOOP-12017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618062#comment-14618062
]
Vinayakumar B commented on HADOOP-12017:
----------------------------------------
bq. It seems that repl is for source files but not index files.
As [~szetszwo] pointed out, current {{repl=10}} which is passed as {{"-r" "3"}}
in args, is used to set the replication for source files.
{code}jobfs.setReplication(srcFiles, repl);{code}
Same need to be used to set on index and masterIndex instead of hardcoded 5.
IMO there is no need of separate configuration {{HAR_REPLICATION_FACTOR}}
> Hadoop archives command should use configurable replication factor when
> closing
> -------------------------------------------------------------------------------
>
> Key: HADOOP-12017
> URL: https://issues.apache.org/jira/browse/HADOOP-12017
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Zhe Zhang
> Assignee: Bibin A Chundatt
> Attachments: 0002-HADOOP-12017.patch, 0003-HADOOP-12017.patch
>
>
> {{HadoopArchives#HArchivesReducer#close}} uses hard-coded replication factor.
> It should use {{repl}} instead, which is parsed from command line parameters.
> {code}
> // try increasing the replication
> fs.setReplication(index, (short) 5);
> fs.setReplication(masterIndex, (short) 5);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)