[ 
https://issues.apache.org/jira/browse/HDFS-4185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548204#comment-14548204
 ] 

Ravi Prakash commented on HDFS-4185:
------------------------------------

Thanks for all your work Rakesh! I noticed that the metrics are showing up in 2 
places on the JMX page (FSNamesystemState and FSNamesystem). Do we need that? 
If not, could you please remove the changes in FSNamesystemMBean.java, remove 
the @Override annotations from the two methods in FSNameSystem.java and submit 
a new patch? I'm a +1 after that.

> Add a metric for number of active leases
> ----------------------------------------
>
>                 Key: HDFS-4185
>                 URL: https://issues.apache.org/jira/browse/HDFS-4185
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 0.23.4, 2.0.2-alpha
>            Reporter: Kihwal Lee
>            Assignee: Rakesh R
>              Labels: BB2015-05-TBR
>         Attachments: HDFS-4185-001.patch, HDFS-4185-002.patch, 
> HDFS-4185-003.patch, HDFS-4185-004.patch, HDFS-4185-005.patch, 
> HDFS-4185-006.patch, HDFS-4185-007.patch, HDFS-4185-008.patch
>
>
> We have seen cases of systematic open file leaks, which could have been 
> detected if we have a metric that shows number of active leases.



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

Reply via email to