[
https://issues.apache.org/jira/browse/HDFS-4185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526310#comment-14526310
]
Rakesh R commented on HDFS-4185:
--------------------------------
Attaching another patch addressing the checkstyle comment. [~kihwal] Please
have a look at the patch, thanks!
FYI: There is one more checkstyle comment reported but this is not related to
my patch.
{code}
./hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java:1:
File length is 8,290 lines (max allowed is 2,000).
{code}
> 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
> Attachments: HDFS-4185-001.patch, HDFS-4185-002.patch,
> HDFS-4185-003.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)