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 "Xiaobing Zhou (JIRA)" <ji...@apache.org> on 2015/08/06 00:54:04 UTC

[jira] [Updated] (HDFS-8861) Remove unnecessary log from method FSNamesystem.getCorruptFiles

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

Xiaobing Zhou updated HDFS-8861:
--------------------------------
    Attachment: HDFS-8861.1.patch

Made a patch V1, simply removing the log print.

> Remove unnecessary log from method FSNamesystem.getCorruptFiles
> ---------------------------------------------------------------
>
>                 Key: HDFS-8861
>                 URL: https://issues.apache.org/jira/browse/HDFS-8861
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: HDFS
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-8861.1.patch
>
>
> The log in FSNamesystem.getCorruptFiles will print out whole stack trace. In those cases where SuperuserPrivilege check and Operation check are not satisfied in frequent calls of listCorruptFileBlocks, the stack traces will make logs quite verbose, hard to understand and analyze it.



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