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

UserGroupInformation TGT renewer throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0
    • 3.2.0, 3.1.1
    • security
    • None

    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.001.patch
          1 kB
          Gabor Bota
        2. HADOOP-15593.002.patch
          10 kB
          Gabor Bota
        3. HADOOP-15593.003.patch
          11 kB
          Gabor Bota
        4. HADOOP-15593.004.patch
          11 kB
          Gabor Bota
        5. HADOOP-15593.005.patch
          11 kB
          Gabor Bota

        Issue Links

          Activity

            People

              gabor.bota Gabor Bota
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: