You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "valsaraj (Jira)" <ji...@apache.org> on 2021/10/04 08:37:00 UTC
[jira] [Commented] (RANGER-2576) Ranger is failing to start in
kerberize mode with java-11
[ https://issues.apache.org/jira/browse/RANGER-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423830#comment-17423830 ]
valsaraj commented on RANGER-2576:
----------------------------------
It looks like the fix removed the login.logout() calls. Will the cleanup work in this case?
Would you please share more details about the issue and fix?
> 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
> Fix For: 2.1.0
>
>
> Ranger is failing to start in kerberize mode with java-11 with error.
>
> {code:java}
> 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){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)