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

Ravi Prakash commented on HADOOP-7002:
--------------------------------------

CopyFromLocal seems to have a thread count which is not an option in Put. 
https://github.com/apache/hadoop/blob/746189ad8cdf90ab35baec9364b2e02956a1e70c/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CopyCommands.java#L311

> Wrong description of copyFromLocal and copyToLocal in documentation
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7002
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7002
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jingguo Yao
>            Assignee: Andras Bokor
>            Priority: Minor
>         Attachments: HADOOP-7002.01.patch
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> The descriptions of copyFromLocal and copyToLocal are wrong. 
> For copyFromLocal, the documentation says "Similar to put command, except 
> that the source is restricted to a local file reference." But from the source 
> code of FsShell.java, I can see that copyFromLocal is the sames as put. 
> For copyToLocal, the documentation says "Similar to get command, except that 
> the destination is restricted to a local file reference.". But from the 
> source code of FsShell.java, I can see that copyToLocal is the same as get.
> And this problem exist for both English and Chinese documentation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to