[ https://issues.apache.org/jira/browse/HBASE-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Helmling updated HBASE-3087: --------------------------------- Component/s: metrics > Metrics are not respecting period configuration > ----------------------------------------------- > > Key: HBASE-3087 > URL: https://issues.apache.org/jira/browse/HBASE-3087 > Project: HBase > Issue Type: Bug > Components: metrics > Affects Versions: 0.90.0 > Reporter: Jonathan Gray > Assignee: Hairong Kuang > > This was discussed on an email thread and then summarized in a comment from > stack over in HBASE-2888 (which is a more broad jira): > {quote} > Setting hbase.period in hadoop-metrics.properties doesn't seem to have an > effect; counts are off. Here's what I noticed digging in code: > 'hadoop-metrics.properties' gets read up into a metrics attributes map but > nothing seems to be done w/ them subsequently. Reading up in hadoop, in > branch-0.20/src/core/org/apache/hadoop/metrics/package.html, it seems to > imply that we need to getAttribute and set them after we make a metrics > Context; i.e. in this case, call setPeriod in RegionServerMetrics, etc.? > More broadly, need to make sure settings in hadoop-metrics.properties take > effect when changed. > {quote} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira