[ 
https://issues.apache.org/jira/browse/HADOOP-12017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bibin A Chundatt updated HADOOP-12017:
--------------------------------------
    Attachment: 0003-HADOOP-12017.patch

{quote}
IMO there is no need of separate configuration HAR_REPLICATION_FACTOR
{quote}
{{HAR_REPLICATION_FACTOR}} is label to be used in job conf to get replication 
in reduces . i have renamed {{HAR_REPLICATION_FACTOR}} to 
{{HAR_REPLICATION_LABEL}}. 

In reducer any other provision is there to get replication passed in  *"-r "*

{quote}
Same need to be used to set on index and masterIndex instead of hardcoded 5.
{quote}

Current patch i am setting the argument value passed in "-r 3" for master and 
index .

Please do correct me if am wrong .Any more update required in patch ?

> 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, 
> 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)

Reply via email to