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 E0C8817AA9 for ; Fri, 30 Jan 2015 00:40:34 +0000 (UTC) Received: (qmail 63624 invoked by uid 500); 30 Jan 2015 00:40:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 63572 invoked by uid 500); 30 Jan 2015 00:40:34 -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 63559 invoked by uid 99); 30 Jan 2015 00:40:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2015 00:40:34 +0000 Date: Fri, 30 Jan 2015 00:40:34 +0000 (UTC) From: "Lei (Eddy) Xu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Moved] (HADOOP-11525) FileSystem should expose some performance characteristics for caller (e.g., FsShell) to choose the right algorithm. 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-11525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei (Eddy) Xu moved HDFS-7705 to HADOOP-11525: ---------------------------------------------- Component/s: (was: tools) tools Target Version/s: 2.7.0 (was: 3.0.0, 2.7.0) Affects Version/s: (was: 2.6.0) 2.6.0 Key: HADOOP-11525 (was: HDFS-7705) Project: Hadoop Common (was: Hadoop HDFS) > FileSystem should expose some performance characteristics for caller (e.g., FsShell) to choose the right algorithm. > ------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-11525 > URL: https://issues.apache.org/jira/browse/HADOOP-11525 > Project: Hadoop Common > Issue Type: Improvement > Components: tools > Affects Versions: 2.6.0 > Reporter: Lei (Eddy) Xu > > When running {{hadoop fs -put}}, {{FsShell}} creates a {{._COPYING_.}} file on the target directory, and then renames it to target file when the write is done. However, for some targeted systems, such as S3, Azure and Swift, a partial failure write request (i.e., {{PUT}}) has not side effect, while the {{rename}} operation is expensive. > {{FileSystem}} should expose some characteristics so that the operation such as {{CommandWithDestination#copyStreamToTarget()}} can detect and choose the right way to do. -- This message was sent by Atlassian JIRA (v6.3.4#6332)