hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (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 04:05:39 GMT

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

Brandon Li commented on HADOOP-8711:
------------------------------------

Thanks Suresh for reviewing the patch.
{quote}DFSUtil method seems unnecessary.{quote}
change removed
{quote}Name terseException to terseExceptions. It should be made volatile.{quote}
done
{quote}It would be good add unit test. For that reason it may be good to organize the code,
where you could have an inner class TerseExceptions with methods, add(), isTerse() etc.{quote}
done

New patch is uploaded.
                
> 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