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] [Commented] (HADOOP-12649) Improve UGI diagnostics and failure handling
Date Wed, 16 Dec 2015 13:38:46 GMT

    [ 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
> # 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

View raw message