[
https://issues.apache.org/jira/browse/HDFS-14214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16746614#comment-16746614
]
Erik Krogen commented on HDFS-14214:
------------------------------------
Hi [~xuzq_zander], thanks for reporting this issue. {{MutableRate}}, and thus
{{MutableRatesWithAggregation}}, are not intended to store min/max as far as I
understand. They inherit from {{MutableStat}} to reuse functionality, but I
don't think they should be emitting the min/max info.
Are the outputs you pasted in the JIRA summary from a standard Hadoop
installation? I just tried running a trunk NameNode with
{{dfs.namenode.lock.detailed-metrics.enabled=true}} and I only got {{NumOps}}
and {{AvgTime}}, as expected.
> IMax and IMin is not work in MutableRatesWithAggregation
> --------------------------------------------------------
>
> Key: HDFS-14214
> URL: https://issues.apache.org/jira/browse/HDFS-14214
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: metrics
> Affects Versions: 3.0.3
> Reporter: xuzq
> Priority: Major
> Attachments:
> 0001-fix-bug-which-the-iMax-is-not-work-in-MutableRatesWit.patch
>
>
> The iMax and IMin is not work in MutableRatesWithAggregation.
>
> {code:java}
> "FSNWriteLockCompleteFileNanosNumOps" : 20636253,
> "FSNWriteLockCompleteFileNanosAvgTime" : 213709.20645918904,
> "FSNWriteLockCompleteFileNanosIMinTime" : 3.4028234663852886E38,
> "FSNWriteLockCompleteFileNanosIMaxTime" : 1.401298464324817E-45,
> "FSNWriteLockCompleteFileNanosINumOps" : 3515,
> "FSNReadLockListStatusNanosNumOps" : 21747066,
> "FSNReadLockListStatusNanosAvgTime" : 449992.14782330825,
> "FSNReadLockListStatusNanosIMinTime" : 3.4028234663852886E38,
> "FSNReadLockListStatusNanosIMaxTime" : 1.401298464324817E-45,
> "FSNReadLockListStatusNanosINumOps" : 4784
> {code}
> [^0001-fix-bug-which-the-iMax-is-not-work-in-MutableRatesWit.patch]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]