Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 247CD179D6 for ; Tue, 8 Sep 2015 14:01:26 +0000 (UTC) Received: (qmail 59632 invoked by uid 500); 8 Sep 2015 13:54:46 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 59583 invoked by uid 500); 8 Sep 2015 13:54:46 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 59568 invoked by uid 99); 8 Sep 2015 13:54:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 13:54:46 +0000 Date: Tue, 8 Sep 2015 13:54:46 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12384) Add "-direct" flag option for fs copy so that user can choose not to create "._COPYING_" file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734825#comment-14734825 ] Hudson commented on HADOOP-12384: --------------------------------- FAILURE: Integrated in Hadoop-trunk-Commit #8414 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8414/]) HADOOP-12384. Add '-direct' flag option for fs copy so that user can choose not to create '._COPYING_' file (Contributed by J.Andreina) (vinayakumarb: rev 090d26652c04916a1ede4ca55e7f2ca4fc5f6249) * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CopyCommands.java * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java * hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFsShellCopy.java * hadoop-common-project/hadoop-common/src/test/resources/testConf.xml > 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)