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

Brahma Reddy Battula updated HADOOP-11603:
------------------------------------------
    Description: 
Namenode,DataNode,journalnode,ResourceManager, Nodemanager and historyservice 
etc... will initialize DefaultMetricsSystem hence following log will be logged 
for all the classes.. Since there is snapshot feature in  HDFS ,it's better to 
change the following...
{code}
LOG.info("Scheduled snapshot period at "+ period +" second(s).");
{code}

  was:
Namenode,DataNode,journalnode,ResourceManager, Nodemanager and historyservice 
etc... will initialize DefaultMetricsSystem hence following log will be logged 
for all the classes which is not correct.. since snapshot feature is related to 
HDFS and this can be logged when snapshot is enabled.

{code}
LOG.info("Scheduled snapshot period at "+ period +" second(s).");
{code}


> Metric Snapshot log can be changed #MetricsSystemImpl.java since all the 
> services will be initialized
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11603
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11603
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Minor
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-11603.patch, defaultmetricIntialize-classes.JPG
>
>
> Namenode,DataNode,journalnode,ResourceManager, Nodemanager and historyservice 
> etc... will initialize DefaultMetricsSystem hence following log will be 
> logged for all the classes.. Since there is snapshot feature in  HDFS ,it's 
> better to change the following...
> {code}
> LOG.info("Scheduled snapshot period at "+ period +" second(s).");
> {code}



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

Reply via email to