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

Andrew Wang commented on HADOOP-11021:
--------------------------------------

Sorry, just a few more nitty things :)

{noformat}
+  `Usage: hadoop archive -archiveName name -p <parent> [-r <# of 
replications>] <src>* <dest>`
{noformat}

Would prefer the term "replication factor", more standard.

{noformat}
+  -r indicates the desired number of replications; if this optional argument 
is left
+  empty, a replication degree of 10 will be used.
{noformat}

Rather than "number of replications", "replication factor". Rather than "left 
empty", "not specified". "replication degree" -> "replication factor".

{noformat}
+  it on your own. In this example, 3 replicas will be used. `-r 3` can also be
+  skipped.
{noformat}

* Would prefer something like "In this example, because `-r 3` was specified, a 
replication factor of 3 will be used."

* Also update the usage in the code to say "replication factor"

Actually +1 pending these though.


> Configurable replication degree in the hadoop archive command
> -------------------------------------------------------------
>
>                 Key: HADOOP-11021
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11021
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Minor
>         Attachments: HDFS-6968-2.patch, HDFS-6968.patch
>
>
> Due to be below hard-coded replication degree in {{HadoopArchives}}, the 
> {{archive}} command will fail if HDFS maximum replication has already been 
> configured to a number lower than 10. 
> {code:java}
>     //increase the replication of src files
>     jobfs.setReplication(srcFiles, (short) 10);
> {code}
> This Jira will make the {{archive}} command configurable with desired 
> replication degree.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to