You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/06/03 23:51:47 UTC

[jira] [Updated] (HADOOP-7358) Improve log levels when exceptions caught in RPC handler

     [ https://issues.apache.org/jira/browse/HADOOP-7358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7358:
--------------------------------

    Attachment: hadoop-7358.txt

Simple patch attached. No test case since it's just a log level change.

> Improve log levels when exceptions caught in RPC handler
> --------------------------------------------------------
>
>                 Key: HADOOP-7358
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7358
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7358.txt
>
>
> When a server implementation throws an exception handling an RPC, the Handler thread catches it and logs it before responding with the exception over the IPC channel. This is currently done at INFO level.
> I'd like to propose that, if the exception is an unchecked exception, it should be logged at WARN level instead. This can help alert operators when they might be hitting some kind of bug.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira