Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15593

UserGroupInformation TGT renewer throws NPE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: security
    • Labels:
      None
    • Target Version/s:

      Description

      Found the following NPE thrown in UGI tgt renewer. The NPE was thrown within an exception handler so the original exception was hidden, though it's likely caused by expired tgt.

      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)

      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 better.

        Attachments

        1. HADOOP-15593.005.patch
          11 kB
          Gabor Bota
        2. HADOOP-15593.004.patch
          11 kB
          Gabor Bota
        3. HADOOP-15593.003.patch
          11 kB
          Gabor Bota
        4. HADOOP-15593.002.patch
          10 kB
          Gabor Bota
        5. HADOOP-15593.001.patch
          1 kB
          Gabor Bota

          Issue Links

            Activity

              People

              • Assignee:
                gabor.bota Gabor Bota
                Reporter:
                jojochuang Wei-Chiu Chuang
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: