You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2015/07/09 16:01:05 UTC

[jira] [Comment Edited] (HADOOP-12017) Hadoop archives command should use configurable replication factor when closing

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

Tsz Wo Nicholas Sze edited comment on HADOOP-12017 at 7/9/15 2:01 PM:
----------------------------------------------------------------------

> ... because the value of 5 is hardcoded for master and index and we don’t have an option to change that.

I understand that you want some way to set the replication of the index files.  But why the source file replication factor and the destination index file replication factor have to be the same?


was (Author: szetszwo):
> ... because the value of 5 is hardcoded for master and index and we don’t have an option to change that.

I understand that you want some way to set the replication of the index files.  But what source file replication factor and destination index file replication factor have to be the same?

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