[
https://issues.apache.org/jira/browse/HADOOP-14698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110734#comment-16110734
]
Mukul Kumar Singh commented on HADOOP-14698:
--------------------------------------------
Thanks [~boky01], I feel that among these options
In my opinion, I feel that option 2, will be the simplest (we can disallow
using -t in case of moveFromLocal).
We can also consider option 1, in which we will need to execute the following :-
1) if the path is a file then postProcessPath can run immediately after the
copy of the file succeeds.
2) post process will be skipped for the directory and all the directories can
then finally be cleaned by traversing the entire tree again and deleting the
directories.
> Make copyFromLocal's -t option available for put as well
> --------------------------------------------------------
>
> Key: HADOOP-14698
> URL: https://issues.apache.org/jira/browse/HADOOP-14698
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Andras Bokor
> Assignee: Andras Bokor
> Attachments: HADOOP-14698.01.patch, HADOOP-14698.02.patch
>
>
> After HDFS-11786 copyFromLocal and put are no longer identical.
> I do not see any reason why not to add the new feature to put as well.
> Being non-identical makes the understanding/usage of command more complicated
> from user point of view.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]