[ https://issues.apache.org/jira/browse/HDFS-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797354#comment-13797354 ]
Chris Nauroth commented on HDFS-5336: ------------------------------------- Thanks for the patch, Akira. I built and verified that startup progress metrics only showed up in namenode and not datanode. bq. Change the context of the startup metrics from 'default' to 'dfs'. Unfortunately, I think this would be backwards-incompatible. For example, if someone was using metrics filtering, then their filtering configuration under the old context would stop working. Can we please remove this part of the change? > DataNode should not output 'StartupProgress' metrics > ---------------------------------------------------- > > Key: HDFS-5336 > URL: https://issues.apache.org/jira/browse/HDFS-5336 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.1.0-beta > Environment: trunk > Reporter: Akira AJISAKA > Assignee: Akira AJISAKA > Priority: Minor > Labels: metrics > Attachments: HDFS-5336.patch > > > I found the following metrics output from DataNode. > {code} > 1381355455731 default.StartupProgress: Hostname=trunk, ElapsedTime=0, > PercentComplete=0.0, LoadingFsImageCount=0, LoadingFsImageElapsedTime=0, > LoadingFsImageTotal=0, LoadingFsImagePercentComplete=0.0, > LoadingEditsCount=0, LoadingEditsElapsedTime=0, LoadingEditsTotal=0, > LoadingEditsPercentComplete=0.0, SavingCheckpointCount=0, > SavingCheckpointElapsedTime=0, SavingCheckpointTotal=0, > SavingCheckpointPercentComplete=0.0, SafeModeCount=0, SafeModeElapsedTime=0, > SafeModeTotal=0, SafeModePercentComplete=0.0 > {code} > DataNode should not output 'StartupProgress' metrics because the metrics > shows the progress of NameNode startup. -- This message was sent by Atlassian JIRA (v6.1#6144)