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

WebHDFS and HttpFs should accept only valid Unix user names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.0.3-alpha
    • None
    • None
    • Reviewed

    Description

      HttpFs tries to use UserProfile.USER_PATTERN to match all usernames before a doAs impersonation function. This regex is too strict for most usernames, as it disallows any special character at all. We should relax it more or ditch needing to match things there.

      WebHDFS currently has no such limitations.

      Attachments

        1. HDFS-4171.patch
          9 kB
          Alejandro Abdelnur
        2. HDFS-4171.patch
          9 kB
          Alejandro Abdelnur
        3. HDFS-4171.patch
          8 kB
          Alejandro Abdelnur
        4. HDFS-4171.patch
          8 kB
          Alejandro Abdelnur

        Issue Links

          Activity

            People

              tucu00 Alejandro Abdelnur
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: