hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Lamb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10561) Copy command with preserve option should handle Xattrs
Date Mon, 02 Jun 2014 14:44:02 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015438#comment-14015438

Charles Lamb commented on HADOOP-10561:

Hi Yi,

The usage message is a little bit confusing. At first it was unclear to me that -ptopx was
really -p with options for t, o, p, and x. I would if we could make this a little clearer
by saying something like this instead?

 public static final String USAGE = "[-f] [-p | -p[t|o|p|x]] <src> ... <dst>";

or maybe

 public static final String USAGE = "[-f] [-p | -p[topx]] <src> ... <dst>";

and then in the text:

+      "must be a directory. Passing -p preserves status\n" +
+      "([topx]) (timestamps, ownership, permission, XATTR). \n" +
+      "If -p is specified with no <arg>, then preserves " +
+      "timestamps, ownership, permission. Passing -f\n" +

Also, s/XATTR/XAttr/.

> 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
>         Attachments: HADOOP-10561.patch
> The design docs for Xattrs stated that we handle preserve options with copy commands
> From doc:
> Preserve option of commands like “cp -p” shell command and “distcp -p” should
work on XAttrs. 
> In the case of source fs supports XAttrs but target fs does not support, XAttrs will
be ignored 
> with warning message

This message was sent by Atlassian JIRA

View raw message