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 "leo sun (Jira)" <ji...@apache.org> on 2022/10/19 16:00:00 UTC

[jira] [Created] (HDFS-16808) HDFS metrics will hold the previous value if there is no new call

leo sun created HDFS-16808:
------------------------------

             Summary: HDFS metrics will hold the previous value if there is no new call
                 Key: HDFS-16808
                 URL: https://issues.apache.org/jira/browse/HDFS-16808
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs
            Reporter: leo sun
         Attachments: image-2022-10-19-23-59-19-673.png

According to the implementation of MutableStat.snapshot(), HDFS metrics will always hold the previous value if there is no more new call.

It will cause even if user switch active and standby, the previous ANN(standby now) will always output the old value as the pic shows

!image-2022-10-19-23-59-19-673.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org