Add voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • None
    • None
    • None

    Description

      Usernames containing backslash (e.g. down-level logon names) seem to work fine with Hadoop, except for chown.

      $ HADOOP_USER_NAME="FOOBAR\\testuser" hdfs dfs -mkdir /test/testfile1
      $ hdfs dfs -ls /test
      Found 1 items
      drwxrwxr-x   - FOOBAR\testuser supergroup          0 2017-02-10 12:49 /test/testfile1
      $ HADOOP_USER_NAME="testuser" hdfs dfs -mkdir /test/testfile2
      $ HADOOP_USER_NAME="hdfs" hdfs dfs -chown "FOOBAR\\testuser" /test/testfile2
      -chown: 'FOOBAR\testuser' does not match expected pattern for [owner][:group].
      Usage: hadoop fs [generic options] -chown [-R] [OWNER][:[GROUP]] PATH...
      $
      

      Attachments

        1. HADOOP-14075.001.patch
          2 kB
          Attila Bukor
        2. HADOOP-14075.002.patch
          2 kB
          Attila Bukor

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            abukor Attila Bukor
            abukor Attila Bukor

            Dates

              Created:
              Updated:

              Slack

                Issue deployment