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

TestHDFSCLI fails for a user name with dash

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment