Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F686B1F9 for ; Fri, 20 Jan 2012 03:48:17 +0000 (UTC) Received: (qmail 31768 invoked by uid 500); 20 Jan 2012 03:48:16 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 31490 invoked by uid 500); 20 Jan 2012 03:48:07 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 31470 invoked by uid 99); 20 Jan 2012 03:48:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2012 03:48:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2012 03:47:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C2F31156D6F for ; Fri, 20 Jan 2012 03:47:39 +0000 (UTC) Date: Fri, 20 Jan 2012 03:47:39 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <336218353.58909.1327031259810.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <228797384.54761.1326937719807.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7982) UserGroupInformation fails to login if thread's context classloader can't load HadoopLoginModule MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189604#comment-13189604 ] Hudson commented on HADOOP-7982: -------------------------------- Integrated in Hadoop-Common-0.23-Commit #391 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/391/]) HADOOP-7982. UserGroupInformation fails to login if thread's context classloader can't load HadoopLoginModule. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1233750 Files : * /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java > UserGroupInformation fails to login if thread's context classloader can't load HadoopLoginModule > ------------------------------------------------------------------------------------------------ > > Key: HADOOP-7982 > URL: https://issues.apache.org/jira/browse/HADOOP-7982 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 0.23.0, 1.0.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 0.24.0, 0.23.1, 1.1.0 > > Attachments: hadoop-7982-branch-1.txt, hadoop-7982.txt > > > In a few hard-to-reproduce situations, we've seen a problem where the UGI login call causes a failure to login exception with the following cause: > Caused by: javax.security.auth.login.LoginException: unable to find > LoginModule class: org.apache.hadoop.security.UserGroupInformation > $HadoopLoginModule > After a bunch of debugging, I determined that this happens when the login occurs in a thread whose Context ClassLoader has been set to null. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira