From common-issues-return-155427-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri Jul 27 01:31:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id DD96B180621 for ; Fri, 27 Jul 2018 01:31:03 +0200 (CEST) Received: (qmail 19864 invoked by uid 500); 26 Jul 2018 23:31:02 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 19853 invoked by uid 99); 26 Jul 2018 23:31:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2018 23:31:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 58C591A1401 for ; Thu, 26 Jul 2018 23:31:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8J9riYFEWPWT for ; Thu, 26 Jul 2018 23:31:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3144D5F516 for ; Thu, 26 Jul 2018 23:31:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6C35BE25A1 for ; Thu, 26 Jul 2018 23:31:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 245E32775D for ; Thu, 26 Jul 2018 23:31:00 +0000 (UTC) Date: Thu, 26 Jul 2018 23:31:00 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15593) UserGroupInformation TGT renewer throws NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-15593?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 559045#comment-16559045 ]=20 Hudson commented on HADOOP-15593: --------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14650 (See [https= ://builds.apache.org/job/Hadoop-trunk-Commit/14650/]) HADOOP-15593. Fixed NPE in UGI spawnAutoRenewalThreadForUserCreds. (e= yang: rev 77721f39e26b630352a1f4087524a3fbd21ff06e) * (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoo= p/security/TestUserGroupInformation.java * (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoo= p/security/UserGroupInformation.java > 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 > Assignee: Gabor Bota > Priority: Blocker > Fix For: 3.2.0, 3.1.1 > > Attachments: HADOOP-15593.001.patch, HADOOP-15593.002.patch, HADO= OP-15593.003.patch, HADOOP-15593.004.patch, HADOOP-15593.005.patch > > > Found the following NPE thrown in UGI tgt renewer. The NPE=C2=A0was throw= n 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 exce= ption in thread Thread[TGT Renewer for foo@EXAMPLE.COM,5,main] > java.lang.NullPointerException > at javax.security.auth.kerberos.KerberosTicket.getEndTime(Kerbero= sTicket.java:482) > at org.apache.hadoop.security.UserGroupInformation$1.run(UserGrou= pInformation.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 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