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

TestHDFSCLI fails for user names with the dot/dash character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.2, 3.3.1, 3.4.0
    • test
    • None
    • Reviewed

    Description

      testHDFSConf.xml uses regexes 

      [a-zA-z0-9]*

      to match the username in some test cases.

      This by far does not cover the space of possible OS user names. For us, it fails for a user name containing '.'.

      Similar to HDFS-5821, we propose to use the macro USERNAME.

      Attachments

        1. HDFS-15339.001.patch
          7 kB
          Yan Xiaole

        Activity

          People

            yanxl Yan Xiaole
            yanxl Yan Xiaole
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: