[ 
https://issues.apache.org/jira/browse/HADOOP-10521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yi Liu updated HADOOP-10521:
----------------------------

    Attachment: HADOOP-10521.3.patch

Thanks Chris and Andrew for review. Very appreciate.
TestXAttrsCLI needs DFS support, so will add it in some other HDFS JIRA.

I have updated the patch for all comments, and also fix same issues in patches 
of other JIRAs, for example "lines longer than 80 chars".

The update list is as following:
1. Support -R flag.
2. Replace StringBuffer to StringBuilder 
3. Refine ENCODE and remove ENCODE#getEncode.
4. For description of -n flag, remove redundant text and typo. Add newline at 
the end of descritpion of -n flag.
5. Use CommandFormat and StringUtils.popOptionWithArgument for argument parsing.
6. Add "." after respectively word.
7. Break lines which are longer than 80 chars to multiple lines.
8. Make spaces of description consistent.
9. Have tested the FsShell manually, and "TestXAttrCLI" will be in other HDFS 
JIRA.

> FsShell commands for extended attributes.
> -----------------------------------------
>
>                 Key: HADOOP-10521
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10521
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: HDFS XAttrs (HDFS-2006)
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HADOOP-10521.1.patch, HADOOP-10521.2.patch, 
> HADOOP-10521.3.patch, HADOOP-10521.patch
>
>
> “setfattr” and “getfattr” commands are added to FsShell for XAttr, and these 
> are the same as in Linux.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to