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

Regression: HDFS-4171 puts artificial limit on username length

    XMLWordPrintableJSON

Details

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

    Description

      HDFS-4171 made the invalid assumption that there is a common limit on user names at the UNIX level. Almost all modern systems, when running under a 64-bit kernel, use a pointer instead of a char array in the passwd struct. This makes usernames essentially unlimited.

      Additionally, IIRC, the only places where HDFS and the OS interact where the username is touched is during group lookup.

      This limit is artificial and should be removed. There is a very high risk that we will break users, especially service accounts used for automated processes.

      Attachments

        1. HDFS-4171.patch
          4 kB
          Alejandro Abdelnur

        Issue Links

          Activity

            People

              tucu00 Alejandro Abdelnur
              aw Allen Wittenauer
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: