hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukul Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14698) Make copyFromLocal's -t option available for put as well
Date Wed, 02 Aug 2017 11:24:00 GMT

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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message