[ 
https://issues.apache.org/jira/browse/HDFS-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996992#comment-13996992
 ] 

Andrew Wang commented on HDFS-6373:
-----------------------------------

+1 on the patch, thanks Charles.

Thanks for the confirmation also Chris, I guess this is really just for code 
consistency for INodeSymlink. I filed HDFS-6396 and assigned it to Charles so 
he can do a similar fix.

> Remove support for extended attributes on symlinks
> --------------------------------------------------
>
>                 Key: HDFS-6373
>                 URL: https://issues.apache.org/jira/browse/HDFS-6373
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Andrew Wang
>            Assignee: Charles Lamb
>         Attachments: HDFS-6373.1.patch, HDFS-6373.2.patch
>
>
> Looking in the Linux source code, we see the following:
> http://lxr.linux.no/linux+v3.14.3/fs/xattr.c
> {code}
>   60        /*
>   61         * In the user.* namespace, only regular files and directories 
> can have
>   62         * extended attributes. For sticky directories, only the owner and
>   63         * privileged users can write attributes.
>   64         */
> {code}
> We should consider removing {{XAttrFeature}} from {{INodeSymlink}}.



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

Reply via email to