You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Marc Villacorta (JIRA)" <ji...@apache.org> on 2013/08/08 16:15:48 UTC
[jira] [Commented] (HADOOP-3098) dfs -chown does not like "_"
underscore in user name
[ https://issues.apache.org/jira/browse/HADOOP-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733531#comment-13733531 ]
Marc Villacorta commented on HADOOP-3098:
-----------------------------------------
In my company we use _'COMPANYNAME+name.surname'_ as usernames.
The _'+'_ character is the winbind separator.
I am able to create files in HDFS but I cannot chown as _'+'_ is not in _[-_.@/a-zA-Z0-9]_.
We are also planning to enable kerberos in our Hadoop cluster.
Why _'+'_ is not allowed?
Thank you.
> dfs -chown does not like "_" underscore in user name
> ----------------------------------------------------
>
> Key: HADOOP-3098
> URL: https://issues.apache.org/jira/browse/HADOOP-3098
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.16.0, 0.16.1
> Reporter: Koji Noguchi
> Assignee: Raghu Angadi
> Priority: Blocker
> Fix For: 0.16.2
>
> Attachments: HADOOP-3098.patch, HADOOP-3098.patch
>
>
> :~$ hadoop dfs -chown aaa_bbb /user/knoguchi/test.txt
> chown: 'aaa_bbb' does not match expected pattern for [owner][:group].
> in 0.16.1, only alphabets and numbers are allowed. Shouldn't '_' be allowed?
> I couldn't find any standard, but in Solaris10, it's defined as
> http://docs.sun.com/app/docs/doc/816-5174/6mbb98uhg?a=view
> bq. The login (login) and role (role) fields accept a string of no more than eight bytes consisting of characters from the set of alphabetic characters, numeric characters, period (.), underscore (_), and hyphen (-). The first character should be alphabetic and the field should contain at least one lower case alphabetic character. A warning message is displayed if these restrictions are not met.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira