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

Regression: HDFS-4171 puts artificial limit on username length

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      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

            • Assignee:
              tucu00 Alejandro Abdelnur
              Reporter:
              aw Allen Wittenauer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment