You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2013/05/02 17:24:16 UTC

[jira] [Commented] (HDFS-3817) avoid printing stack information for SafeModeException

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

Brandon Li commented on HDFS-3817:
----------------------------------

Uploaded a branch-1 patch.
                
> avoid printing stack information for SafeModeException
> ------------------------------------------------------
>
>                 Key: HDFS-3817
>                 URL: https://issues.apache.org/jira/browse/HDFS-3817
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 3.0.0, 0.23.7, 2.0.5-beta
>
>         Attachments: HDFS-3817.branch-1.patch, HDFS-3817.patch
>
>
> When NN is in safemode, any namespace change request could cause a SafeModeException to be thrown and logged in the server log, which can make the server side log grow very quickly. 
> The server side log can be more concise if only the exception and error message will be printed but not the stack trace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira