You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2018/07/09 22:43:01 UTC

[jira] [Created] (HADOOP-15593) UserGroupInformation TGT renewer throws NPE

Wei-Chiu Chuang created HADOOP-15593:
----------------------------------------

             Summary: UserGroupInformation TGT renewer throws NPE
                 Key: HADOOP-15593
                 URL: https://issues.apache.org/jira/browse/HADOOP-15593
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 3.0.0
            Reporter: Wei-Chiu Chuang


Found the following NPE thrown in UGI tgt renewer. The NPE is thrown within an exception handler so the original exception was hidden, though it's likely caused by expired tgt.
{noformat}
18/07/02 10:30:57 ERROR util.SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[TGT Renewer for foo@EXAMPLE.COM,5,main]
java.lang.NullPointerException
        at javax.security.auth.kerberos.KerberosTicket.getEndTime(KerberosTicket.java:482)
        at org.apache.hadoop.security.UserGroupInformation$1.run(UserGroupInformation.java:894)
        at java.lang.Thread.run(Thread.java:748){noformat}

Suspect it's related to https://bugs.openjdk.java.net/browse/JDK-8154889.

The relevant code was added in HADOOP-13590. File this jira to handle the exception handling better.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org