[ 
https://issues.apache.org/jira/browse/HADOOP-12017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616312#comment-14616312
 ] 

Bibin A Chundatt commented on HADOOP-12017:
-------------------------------------------

Hi [~szetszwo] the below two i have handled in patch

# Argument for replication in test case was not passed correctly.
# All files including index and master index uses replication value passed
  
The replication value  as 5 i feel is definitely wrong .Either should be 
replication value passed as argument or default dfs.replication value currently 
i have used argument value passed 

Could you please check the current implementation is fine?


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

Reply via email to