Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5821

TestHDFSCLI fails for user names with the dash character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.4.0
    • test
    • None
    • Reviewed

    Description

      testHDFSConf.xml uses regexes inconsistently to match the username from

      [a-zA-z0-9]*

      to

      [a-z]*

      . This by far does not cover the space of possible OS user names. For us, it fails for a user name containing '-'. Instead of keeping updating regex, we propose to use the macro USERNAME.

      Attachments

        1. HDFS-5821-trunk.v01.patch
          377 kB
          Gera Shegalov

        Issue Links

          Activity

            People

              jira.shegalov Gera Shegalov
              jira.shegalov Gera Shegalov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: