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 882C611F9C for ; Thu, 12 Jun 2014 17:03:03 +0000 (UTC) Received: (qmail 51980 invoked by uid 500); 12 Jun 2014 17:03:02 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 51941 invoked by uid 500); 12 Jun 2014 17:03:02 -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 51930 invoked by uid 99); 12 Jun 2014 17:03:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 17:03:02 +0000 Date: Thu, 12 Jun 2014 17:03:02 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-10561) Copy command with preserve option should handle Xattrs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-10561?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HADOOP-10561: ----------------------------------- Attachment: HADOOP-10561.branch-2.patch I committed this to trunk and branch-2. Yi, thank you for contributing the= patch. Uma, thank you for the code review. There was a merge conflict when I took this to branch-2, but it was trivial= to resolve. I'm attaching the branch-2 diff to maintain the history. > Copy command with preserve option should handle Xattrs > ------------------------------------------------------ > > Key: HADOOP-10561 > URL: https://issues.apache.org/jira/browse/HADOOP-10561 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Affects Versions: 3.0.0 > Reporter: Uma Maheswara Rao G > Assignee: Yi Liu > Fix For: 3.0.0, 2.5.0 > > Attachments: HADOOP-10561.1.patch, HADOOP-10561.2.patch, HADOOP-1= 0561.3.patch, HADOOP-10561.4.patch, HADOOP-10561.5.patch, HADOOP-10561.bran= ch-2.patch, HADOOP-10561.patch > > > The design docs for Xattrs stated that we handle preserve options with co= py commands > From doc: > Preserve option of commands like =E2=80=9Ccp -p=E2=80=9D shell command an= d =E2=80=9Cdistcp -p=E2=80=9D should work on XAttrs.=20 > In the case of source fs supports XAttrs but target fs does not support, = exception about XAttrs not supported will be thrown. -- This message was sent by Atlassian JIRA (v6.2#6252)