[ 
https://issues.apache.org/jira/browse/RANGER-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mehul Parikh updated RANGER-2576:
---------------------------------
    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/h...@domain.site from keytab /path/to/ranger.keytab
java.io.IOException: Login failure for rangeradmin/h...@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)

  was:Installing and starting Ranger service in Kerberized env fails 


> Ranger is failing to start in kerberize mode with java-11
> ---------------------------------------------------------
>
>                 Key: RANGER-2576
>                 URL: https://issues.apache.org/jira/browse/RANGER-2576
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: Ranger
>            Reporter: Nikhil Purbhe
>            Assignee: Nikhil Purbhe
>            Priority: Major
>
> 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/h...@domain.site from keytab /path/to/ranger.keytab
> java.io.IOException: Login failure for rangeradmin/h...@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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to