hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5167) Add metrics about the NameNode retry cache
Date Fri, 18 Oct 2013 05:48:42 GMT

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

Tsuyoshi OZAWA updated HDFS-5167:
---------------------------------

    Attachment: HDFS-5167.6.patch

Updated a patch based on Jing's review comment.

1. Added @InterfaceAudience.Private annotation to RetryCacheMetrics class.
2. Cleared RetryCacheMetrics' import section.
3. Changed RetryCache for FSNamesystem to "NameNode", then the metrics name is "RetryCacheNameNode".
4. Put an instance RetryCacheMetrics inside RetryCache's methods. All metrics are updated
when RetryCache#set is accessed.


> Add metrics about the NameNode retry cache
> ------------------------------------------
>
>                 Key: HDFS-5167
>                 URL: https://issues.apache.org/jira/browse/HDFS-5167
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, namenode
>    Affects Versions: 3.0.0
>            Reporter: Jing Zhao
>            Assignee: Tsuyoshi OZAWA
>            Priority: Minor
>         Attachments: HDFS-5167.1.patch, HDFS-5167.2.patch, HDFS-5167.3.patch, HDFS-5167.4.patch,
HDFS-5167.5.patch, HDFS-5167.6.patch
>
>
> It will be helpful to have metrics in NameNode about the retry cache, such as the retry
count etc.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message