Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2575 Java 11 Support for Ranger
  3. RANGER-2576

Ranger is failing to start in kerberize mode with java-11

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Ranger
    • Labels:
      None

      Description

      Ranger is failing to start in kerberize mode with java-11 with error. 

       

      SEVERE: Tomcat Server failed to start:java.io.IOException: Login failure for rangeradmin/host@DOMAIN.SITE from keytab /path/to/ranger.keytab
       java.io.IOException: Login failure for rangeradmin/host@DOMAIN.SITE from keytab /path/to/ranger.keytab
       at org.apache.hadoop.security.SecureClientLogin.loginUserFromKeytab(SecureClientLogin.java:71)
       at org.apache.ranger.server.tomcat.EmbeddedServer.start(EmbeddedServer.java:249)
       at org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:69)
       Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException: invalid null input(s)
       at java.base/java.util.Objects.requireNonNull(Objects.java:246)
       at java.base/javax.security.auth.Subject$SecureSet.remove(Subject.java:1172)
       at java.base/java.util.Collections$SynchronizedCollection.remove(Collections.java:2041)
       at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.logout(Krb5LoginModule.java:1197)
       at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:732)
       at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nikhil Nikhil Purbhe
                Reporter:
                nikhil Nikhil Purbhe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: