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

Chris Nauroth commented on HDFS-6413:
-------------------------------------

Here is a transcript of a CLI session showing the problem.

{code}
> hadoop-3.0.0-SNAPSHOT/bin/hdfs dfs -getfattr -d /testxattr
# file: /testxattr
user.bah="sheep"
user.foo
user.bar="baz"

> hadoop-3.0.0-SNAPSHOT/bin/hdfs dfs -setfattr -n user.FOO /testxattr

> hadoop-3.0.0-SNAPSHOT/bin/hdfs dfs -getfattr -d /testxattr
# file: /testxattr
user.FOO
user.bah="sheep"
user.bar="baz"

> hadoop-3.0.0-SNAPSHOT/bin/hdfs dfs -setfattr -x user.foo /testxattr

> hadoop-3.0.0-SNAPSHOT/bin/hdfs dfs -getfattr -d /testxattr
# file: /testxattr
user.bah="sheep"
user.bar="baz"
{code}


> xattr names erroneously handled as case-insensitive.
> ----------------------------------------------------
>
>                 Key: HDFS-6413
>                 URL: https://issues.apache.org/jira/browse/HDFS-6413
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: HDFS XAttrs (HDFS-2006)
>            Reporter: Chris Nauroth
>             Fix For: HDFS XAttrs (HDFS-2006)
>
>         Attachments: HDFS-6413.1.patch
>
>
> Xattr names currently are handled as case-insensitive.  The names should be 
> case-sensitive instead.



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

Reply via email to