hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3098) dfs -chown does not like "_" underscore in user name
Date Wed, 26 Mar 2008 19:09:29 GMT
dfs -chown does not like "_" underscore in user name

                 Key: HADOOP-3098
                 URL: https://issues.apache.org/jira/browse/HADOOP-3098
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs
    Affects Versions: 0.16.1, 0.16.0
            Reporter: Koji Noguchi
            Priority: Blocker
             Fix For: 0.16.2

:~$ 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 


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.
You can reply to this email to add a comment to the issue online.

View raw message