hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11117) UGI HadoopLoginModule doesn't catch & wrap all kerberos-related exceptions
Date Tue, 23 Sep 2014 10:01:34 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-11117:
------------------------------------
    Attachment: HADOOP-11117-002.patch

patch -002 which patches the test to make it less brittle to exception strings

> UGI HadoopLoginModule doesn't catch & wrap all kerberos-related exceptions
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-11117
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11117
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.5.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: HADOOP-11117-001.patch, HADOOP-11117-002.patch
>
>
> If something is failing with kerberos login, {{UserGroupInformation.loginUserFromKeytabAndReturnUGI()}}
should fail with useful information. But not all exceptions from the inner code are caught
and converted to LoginException. Those exceptions that aren't wrapped have their text and
stack trace lost somewhere in the javax code, leaving on the text "login failed" and a stack
trace of no value whatsoever.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message