[ https://issues.apache.org/jira/browse/HADOOP-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HADOOP-7982: -------------------------------- Attachment: hadoop-7982.txt trunk patch (exactly the same code, just rebased to the right spot) > 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 > 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