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

TestHDFSCLI fails for user names with the dash character

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment