You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2015/09/04 13:03:46 UTC

[jira] [Updated] (HDFS-8698) Add "-direct" flag option for fs copy so that user can choose not to create "._COPYING_" file

     [ https://issues.apache.org/jira/browse/HDFS-8698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

J.Andreina updated HDFS-8698:
-----------------------------
    Attachment: HDFS-8698.2.patch

Updated the patch
Please review.

> Add "-direct" flag option for fs copy so that user can choose not to create "._COPYING_" file
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8698
>                 URL: https://issues.apache.org/jira/browse/HDFS-8698
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.7.0
>            Reporter: Chen He
>            Assignee: J.Andreina
>         Attachments: HDFS-8698.1.patch, HDFS-8698.2.patch
>
>
> Because CLI is using CommandWithDestination.java which add "._COPYING_" to the tail of file name when it does the copy. For blobstore like S3 and Swift, to create "._COPYING_" file and rename it is expensive. "-direct" flag can allow user to avoiding the "._COPYING_" file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)