hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8711) provide an option for IPC server users to avoid printing stack information for certain exceptions
Date Tue, 21 Aug 2012 13:23:43 GMT

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

Suresh Srinivas commented on HADOOP-8711:
-----------------------------------------

Couple of comments:
# Please add brief javadoc for ExceptionsHandler class. Also please make the class package
private instead of public.
# Please do not make Server#exceptionsHandler public. Instead add a method Server#addTerseExceptions().

                
> provide an option for IPC server users to avoid printing stack information for certain
exceptions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8711
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-8711.patch, HADOOP-8711.patch, HADOOP-8711.patch
>
>
> Currently it's hard coded in the server that it doesn't print the exception stack for
StandbyException. 
> Similarly, other components may have their own exceptions which don't need to save the
stack trace in log. One example is HDFS-3817.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message