hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6373) Remove support for extended attributes on symlinks
Date Tue, 13 May 2014 03:01:19 GMT

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

Yi Liu commented on HDFS-6373:
------------------------------

Thanks Andrew.
Let's remove XAttrFeature from INodeSysmlink, so symlinks don't have xattrs of their own.

In design doc we have 
{quote}
Symlinks do not have XAttrs of their own. Operations that modify the XAttrs of a sysmlink
instead modify the XAttr of the symlink’s target
{quote}

> 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
>
> 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)

Mime
View raw message