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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2016/05/24 23:23:12 UTC

[jira] [Updated] (HDFS-10341) Add a metric to expose the timeout number of pending replication blocks

     [ https://issues.apache.org/jira/browse/HDFS-10341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira AJISAKA updated HDFS-10341:
---------------------------------
    Attachment: HDFS-10341.02.patch

Thanks Arpit for the comment. Updated the patch.

I wanted to expose the *total* number of timeouts, so I created additional AtomicInt in the previous patch. In the 02 patch, the metric shows the *current* number of timed out pending replication blocks because {{timedOutItems}} is cleared in {{getTimedOutBlocks()}}.
I suspect that the current number doesn't fit for us because the number is cleared very frequently (recheck interval is 3 sec by default, which is probably smaller than the interval of metrics sink). What do you think?

> Add a metric to expose the timeout number of pending replication blocks
> -----------------------------------------------------------------------
>
>                 Key: HDFS-10341
>                 URL: https://issues.apache.org/jira/browse/HDFS-10341
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>         Attachments: HDFS-10341.01.patch, HDFS-10341.02.patch
>
>
> Per HDFS-6682, recording the timeout number of pending replication blocks is useful to get the cluster health.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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