[
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)