Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16214

Kerberos name implementation in Hadoop does not accept principals with more than two components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • auth
    • None

    Description

      org.apache.hadoop.security.authentication.util.KerberosName is in charge of converting a Kerberos principal to a user name in Hadoop for all of the services requiring authentication.

      Although the Kerberos spec (https://web.mit.edu/kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-user/What-is-a-Kerberos-Principal_003f.html) allows for an arbitrary number of components in the principal, the Hadoop implementation will throw a "Malformed Kerberos name:" error if the principal has more than two components (because the regex can only read serviceName and hostName).

      Attachments

        1. HADOOP-16214.013.patch
          11 kB
          Eric Yang
        2. HADOOP-16214.012.patch
          10 kB
          Eric Yang
        3. Add-service-freeipa.png
          21 kB
          Eric Yang
        4. HADOOP-16214.011.patch
          10 kB
          Eric Yang
        5. HADOOP-16214.010.patch
          10 kB
          Eric Yang
        6. HADOOP-16214.009.patch
          7 kB
          Daryn Sharp
        7. HADOOP-16214.008.patch
          8 kB
          Eric Yang
        8. HADOOP-16214.007.patch
          7 kB
          Eric Yang
        9. HADOOP-16214.006.patch
          7 kB
          Eric Yang
        10. HADOOP-16214.005.patch
          7 kB
          Eric Yang
        11. HADOOP-16214.004.patch
          6 kB
          Eric Yang
        12. HADOOP-16214.003.patch
          6 kB
          Eric Yang
        13. HADOOP-16214.002.patch
          5 kB
          Eric Yang
        14. HADOOP-16214.001.patch
          5 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            ibuenros Issac Buenrostro
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated: