[
https://issues.apache.org/jira/browse/HADOOP-12897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231998#comment-15231998
]
Yuanbo Liu commented on HADOOP-12897:
-------------------------------------
I agree that the exception should be more specific. The {{hadoop-common}}
moudle depends on {{hadoop-auth}} moudle and there will be circular dependency
if we use {{NetUtils.wrapException}} in {{KerberosAuthenticator.authenticate}}.
This issue can be fixed if we duplicate {{NetUtils.wrapException}} in
{{hadoop-auth}} moudle, but it seems ugly.
> KerberosAuthenticator.authenticate to include URL on IO failures
> ----------------------------------------------------------------
>
> Key: HADOOP-12897
> URL: https://issues.apache.org/jira/browse/HADOOP-12897
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 2.8.0
> Reporter: Steve Loughran
> Priority: Minor
>
> If {{KerberosAuthenticator.authenticate}} can't connect to the endpoint, you
> get a stack trace, but without the URL it is trying to talk to.
> That is: it doesn't have any equivalent of the {{NetUtils.wrapException}}
> handler —which can't be called here as its not in the {{hadoop-auth}} module
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)