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 "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/05/22 01:01:17 UTC

[jira] [Updated] (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:all-tabpanel ]

Zhe Zhang updated HADOOP-12017:
-------------------------------
    Description: 
{{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}

  was:
{{HadoopArchives#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}


> 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
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>
> {{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)