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 "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2015/08/08 01:35:45 UTC

[jira] [Updated] (HDFS-8880) NameNode should periodically log metrics

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

Arpit Agarwal updated HDFS-8880:
--------------------------------
    Attachment: HDFS-8880.01.patch

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