hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12017) Hadoop archives command should use configurable replication factor when closing
Date Wed, 08 Jul 2015 10:49:05 GMT

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

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

[~vinayrpet] Thank you for review.

In the default value for {{repl}} was 10 i made {{replication}} consistent with {{repl}}
{code}
  short repl = 10;
{code}
Hope that is fine ? Or in all location will change the default to 5 .




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

Mime
View raw message