hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15726) Create utility to limit frequency of log statements
Date Thu, 06 Sep 2018 18:45:00 GMT

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

Erik Krogen commented on HADOOP-15726:
--------------------------------------

Dev work for this was happening in HDFS-13791, I will move the common utility into this JIRA.

> Create utility to limit frequency of log statements
> ---------------------------------------------------
>
>                 Key: HADOOP-15726
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15726
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common, util
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>            Priority: Major
>
> There is a common pattern of logging a behavior that is normally extraneous. Under some
circumstances, such a behavior becomes common, flooding the logs and making it difficult to
see what else is going on in the system. Under such situations it is beneficial to limit how
frequently the extraneous behavior is logged, while capturing some summary information about
the suppressed log statements.
> This is currently implemented in {{FSNamesystemLock}} (in HDFS-10713). We have additional
use cases for this in HDFS-13791, so this is a good time to create a common utility for different
sites to share this logic.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message