Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C4741200ACA for ; Wed, 18 May 2016 21:55:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C361F1609B0; Wed, 18 May 2016 19:55:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 44DAD160A00 for ; Wed, 18 May 2016 21:55:24 +0200 (CEST) Received: (qmail 30083 invoked by uid 500); 18 May 2016 19:55:18 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 30031 invoked by uid 99); 18 May 2016 19:55:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 19:55:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3F73D2C1F62 for ; Wed, 18 May 2016 19:45:13 +0000 (UTC) Date: Wed, 18 May 2016 19:45:13 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13145) In DistCp, prevent unnecessary getFileStatus call when not preserving metadata. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 May 2016 19:55:24 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-13145: ------------------------------------ Status: Patch Available (was: Open) > In DistCp, prevent unnecessary getFileStatus call when not preserving metadata. > ------------------------------------------------------------------------------- > > Key: HADOOP-13145 > URL: https://issues.apache.org/jira/browse/HADOOP-13145 > Project: Hadoop Common > Issue Type: Improvement > Components: tools/distcp > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HADOOP-13145.001.patch, HADOOP-13145.003.patch > > > After DistCp copies a file, it calls {{getFileStatus}} to get the {{FileStatus}} from the destination so that it can compare to the source and update metadata if necessary. If the DistCp command was run without the option to preserve metadata attributes, then this additional {{getFileStatus}} call is wasteful. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org