Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-913 Umbrella: Add a way to register long-lived services in a YARN cluster
  3. YARN-2677

registry punycoding of usernames doesn't fix all usernames to be DNS-valid

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: api, resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The registry has a restriction "DNS-valid names only" to retain the future option of DNS exporting of the registry.

      to handle complex usernames, it punycodes the username first, using Java's java.net.IDN class.

      This turns out to only map high unicode-> ASCII, and does nothing for ascii-but-invalid-hostname chars, so stopping users with DNS-illegal names (e.g. with an underscore in them) from being able to register

        Attachments

        1. YARN-2677-002.patch
          7 kB
          Steve Loughran
        2. YARN-2677-001.patch
          6 kB
          Steve Loughran

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: