hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13791) Limit logging frequency of edit tail related statements
Date Fri, 03 Aug 2018 18:29:00 GMT
Erik Krogen created HDFS-13791:

             Summary: Limit logging frequency of edit tail related statements
                 Key: HDFS-13791
                 URL: https://issues.apache.org/jira/browse/HDFS-13791
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: hdfs, qjm
            Reporter: Erik Krogen
            Assignee: Erik Krogen

There are a number of log statements that occur every time new edits are tailed by a Standby
NameNode. When edits are tailing only on the order of every tens of seconds, this is fine.
With the work in HDFS-13150, however, edits may be tailed every few milliseconds, which can
flood the logs with tailing-related statements. We should throttle it to limit it to printing
at most, say, once per 5 seconds.

We can implement logic similar to that used in HDFS-10713. This may be slightly more tricky
since the log statements are distributed across a few classes.

This message was sent by Atlassian JIRA

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

View raw message