Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2530

Zeppelin user impersonation with domain name suffix is failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.1
    • 0.7.2, 0.8.0
    • None
    • None

    Description

      Basically what happens is, if a user login using full name with suffix then the user impersonation fails, as the HDFS expects username without the suffix.

      This is because the username is passed to underlying components with suffix and got rejected in security layer with IllegalArgumentException

      Error in delegation token service logs where the requests are rejected with IllegalArgumentException:

      Caused by: java.lang.IllegalArgumentException: Illegal principal name adminuser1@testdomain.com: org.apache.hadoop.security.authentication.util.KerberosName$NoMatchingRule: No rules applied to adminuser1@testdomain.com
              at org.apache.hadoop.security.User.<init>(User.java:51)
              at org.apache.hadoop.security.User.<init>(User.java:43)
              at org.apache.hadoop.security.UserGroupInformation.createProxyUser(UserGroupInformation.java:1283)
              at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46)
              ... 42 more
      

      Attachments

        Issue Links

          Activity

            People

              prabhjyotsingh Prabhjyot Singh
              prabhjyotsingh Prabhjyot Singh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: