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

TestHDFSCLI fails for a user name with dash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.2.0
    • None
    • test
    • None

    Description

      testHDFSConf.xml uses a regex to describe username. Regexes are used incosistently from

      [a-zA-z0-9]*

      to

      [a-z]*

      . Clearly OS are less restrictive than that, and for us specifically the test fails for a build user having a -. So instead of keeping updating regex, I propose to replace it with the macro USERNAME.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: