hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7959) WebHdfs logging is missing on Datanode
Date Wed, 25 Mar 2015 18:27:53 GMT

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

Haohui Mai commented on HDFS-7959:
----------------------------------

bq. Besides, not all the components in the current jetty log is actually useful (e.g. response
code)

The response code is useful in terms of debugging authentication issues (401 / 500 / etc.).
Maybe it is a good idea to keep them?

bq. It is probably a good idea to sanitize the tokens in the request URI before logging. I
will update the patch.

I think that the right fix is to move delegation token from the URL to the header. Logging
requests seem really general and it might be a bad idea to mix it with the requirements of
the application layers.

> WebHdfs logging is missing on Datanode
> --------------------------------------
>
>                 Key: HDFS-7959
>                 URL: https://issues.apache.org/jira/browse/HDFS-7959
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>            Priority: Critical
>         Attachments: HDFS-7959.patch
>
>
> After the conversion to netty, webhdfs requests are not logged on datanodes. The existing
jetty log only logs the non-webhdfs requests that come through the internal proxy.



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

Mime
View raw message