[ 
https://issues.apache.org/jira/browse/HADOOP-7189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032144#comment-13032144
 ] 

Todd Lipcon commented on HADOOP-7189:
-------------------------------------

+1 for Ted's patch. Unfortunately I wasn't able to use the test that Andrew 
contributed, since this feature happens in a static initialization block and 
depends on an env var. I manually tested by running the UGI class from the 
command line with and without the env var set to "true".

> Add ability to enable 'debug' property in JAAS configuration
> ------------------------------------------------------------
>
>                 Key: HADOOP-7189
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7189
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Ted Yu
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-7189.patch, HADOOP-7189.txt, 
> enable-UGI-debug-example.txt
>
>
> Occasionally users have run into weird "Unable to login" messages. 
> Unfortunately, JAAS obscures the underlying exception message in many cases 
> because it thinks leaking the exception might be insecure in itself. Enabling 
> the "debug" option in the JAAS configuration gets it to dump the underlying 
> issue and makes troubleshooting this kind of issue easier.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to