[
https://issues.apache.org/jira/browse/HADOOP-15143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304724#comment-16304724
]
Jitendra Nath Pandey commented on HADOOP-15143:
-----------------------------------------------
[~msingh]
On a second look at the KerberosTicket code, the destroy method is public and
is not synchronized, and therefore it is possible that server is set to null
but destroyed flag is not set. We may get a bit conservative and check for
getServer() returning null as well?
> NPE due to Invalid KerberosTicket in UGI
> ----------------------------------------
>
> Key: HADOOP-15143
> URL: https://issues.apache.org/jira/browse/HADOOP-15143
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.7.4
> Reporter: Jitendra Nath Pandey
> Assignee: Mukul Kumar Singh
> Attachments: HADOOP-15143.001.patch
>
>
> {code}
> java.lang.NullPointerException
> at
> org.apache.hadoop.security.UserGroupInformation.fixKerberosTicketOrder(UserGroupInformation.java:1170)
>
> at
> org.apache.hadoop.security.UserGroupInformation.reloginFromKeytab(UserGroupInformation.java:1247)
>
> at
> org.apache.hadoop.security.UserGroupInformation.checkTGTAndReloginFromKeytab(UserGroupInformation.java:1157)
>
> {code}
> It could be related to jdk issue
> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/fd0e0898721c
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]