hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12384) Add "-direct" flag option for fs copy so that user can choose not to create "._COPYING_" file
Date Tue, 08 Sep 2015 13:46:46 GMT

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

Vinayakumar B updated HADOOP-12384:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.8.0
     Release Note: An option '-d' added for all command-line copy commands to skip intermediate
'.COPYING' file creation.
           Status: Resolved  (was: Patch Available)

Thanks for reporting [~airbots]. 
Thanks for the contribution [~andreina].

Committed to trunk and branch-2.

> Add "-direct" flag option for fs copy so that user can choose not to create "._COPYING_"
file
> ---------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12384
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12384
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.7.0
>            Reporter: Chen He
>            Assignee: J.Andreina
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8698.1.patch, HDFS-8698.2.patch, HDFS-8698.3.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)

Mime
View raw message