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

Steve Loughran commented on HADOOP-12649:
-----------------------------------------

Example: the only way to debug JAAS internals is to set the env var 
{{HADOOP_JAAS_DEBUG}}. It is therefore impossible to enable this from inside 
the JVM.

Better: provide a method to turn this or, and/or hook it up to the log level of 
UGI itself. That is if the UGI log is at debug, turn JAAS debug on automatically

> Improve UGI diagnostics and failure handling
> --------------------------------------------
>
>                 Key: HADOOP-12649
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12649
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.7.1
>         Environment: Kerberos
>            Reporter: Steve Loughran
>
> Sometimes —apparently— some people cannot get kerberos to work.
> The ability to diagnose problems here is hampered by some aspects of UGI
> # the only way to turn on JAAS debug information is through an env var, not 
> within the JVM
> # failures are potentially underlogged
> # exceptions raised are generic IOEs, so can't be trapped and filtered
> # failure handling on the TGT renewer thread is nonexistent
> # the code is barely-readable, underdocumented mess.



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

Reply via email to