hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15092) Proxy failures during NamenodeWebHdfsMethods are not logged
Date Wed, 06 Dec 2017 10:44:00 GMT

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

Prabhu Joseph commented on HADOOP-15092:

AuthorizationException does not provide stacktrace for security purposes. Logger only prints
the stacktrace of the Throwable and does not log the message in case if stacktrace is empty.
Attached a patch which returns the message alone as part of printStackTrace() of AuthorizationException

> Proxy failures during NamenodeWebHdfsMethods are not logged 
> ------------------------------------------------------------
>                 Key: HADOOP-15092
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15092
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.7.3
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
> When GetDelegationToken http request fails with proxy issue, there is no logs from NameNode
to indicate it's a proxy issue. Below is the only log. IOExceptions are logged but AuthorizationException
are not logged. It will be helpful to log proxy failures from JspHelper getUGI().
> {code}
> 2017-12-05 13:05:02,045 INFO  namenode.GetDelegationTokenServlet (GetDelegationTokenServlet.java:doGet(56))
- Request for token received with no authentication from
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message