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 1E4F6200B87 for ; Mon, 19 Sep 2016 22:31:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D0BF160ADF; Mon, 19 Sep 2016 20:31:22 +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 88537160ABB for ; Mon, 19 Sep 2016 22:31:21 +0200 (CEST) Received: (qmail 65912 invoked by uid 500); 19 Sep 2016 20:31:20 -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 65884 invoked by uid 99); 19 Sep 2016 20:31:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2016 20:31:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7D4642C0D57 for ; Mon, 19 Sep 2016 20:31:20 +0000 (UTC) Date: Mon, 19 Sep 2016 20:31:20 +0000 (UTC) From: "Chris Douglas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13626) Remove distcp dependency on FileStatus serialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Sep 2016 20:31:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-13626: ----------------------------------- Attachment: HADOOP-13626.002.patch Missed some checkstyle complaints. > Remove distcp dependency on FileStatus serialization > ---------------------------------------------------- > > Key: HADOOP-13626 > URL: https://issues.apache.org/jira/browse/HADOOP-13626 > Project: Hadoop Common > Issue Type: Bug > Components: tools/distcp > Reporter: Chris Douglas > Attachments: HADOOP-13626.001.patch, HADOOP-13626.002.patch > > > DistCp uses an internal struct {{CopyListingFileStatus}} to record metadata. Because this record extends {{FileStatus}}, it also relies on the {{Writable}} contract from that type. Because DistCp performs its checks on a subset of the fields (i.e., does not actually rely on {{FileStatus}} as a supertype), these types should be independent. -- 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