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

TestHDFSCLI fails for user names with the dash character

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: