You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/02/18 20:18:35 UTC

[GitHub] [hadoop] shvachko commented on pull request #2668: HDFS-15808. Add metrics for FSNamesystem read/write lock hold long time

shvachko commented on pull request #2668:
URL: https://github.com/apache/hadoop/pull/2668#issuecomment-781609671


   Just reposting my comment on the jira for visibility.
   
   The patch looks fine, but I doubt the metric will be useful in its current form. Monotonically increasing counter doesn't tell you much when plotted. Over time it just becomes an incredibly large number, hard to see its fluctuations. And you cannot set alerts if the threshold is exceeded often.
   See e.g. ExpiredHeartbeats or LastWrittenTransactionId - not useful.
   I assume you need something like a rate.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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