hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-8880) NameNode should periodically log metrics to separate appender
Date Fri, 07 Aug 2015 23:37:46 GMT

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

Arpit Agarwal edited comment on HDFS-8880 at 8/7/15 11:37 PM:
--------------------------------------------------------------

Patch to log NameNode metrics once every 10 minutes by default to a separate _name-metrics.log_
appender.

Metrics logging can be turned off by setting {{dfs.namenode.metrics.logger.period.seconds}}
to a non-positive value.

The logging filters out {{TabularData}} and {{CompositeData}} metrics and also truncates string
values at 128 bytes to avoid logging excessively.

Updated patch with tests to follow soon.


was (Author: arpitagarwal):
Patch to log NameNode metrics once every 10 minutes by default to a separate _name-metrics.log_
appender.

The logging filters out {{TabularData}} and {{CompositeData}} metrics and also truncates string
values at 128 bytes to avoid logging excessively.

Updated patch with tests to follow soon.

> NameNode should periodically log metrics to separate appender
> -------------------------------------------------------------
>
>                 Key: HDFS-8880
>                 URL: https://issues.apache.org/jira/browse/HDFS-8880
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-8880.01.patch
>
>
> The NameNode can periodically log metrics to help debugging when the cluster is not setup
with another metrics monitoring scheme.



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

Mime
View raw message