hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4185) Add a metric for number of active leases
Date Mon, 11 May 2015 17:24:00 GMT

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

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

Hi Rakesh!

Where do you see this data structure {{private final Collection<String> paths = new
TreeSet<String>();}} ? I'm not able to find it anywhere in the [trunk source code|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/LeaseManager.java]
Are you sure you are on the right branch? A [commit|https://github.com/apache/hadoop/commit/00fe1ed3a4b3ee35fe24be257ec36445d2f44d63]
has gone in lately, but I can't find this particular string anywhere :(

Please check this [member of Lease|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/LeaseManager.java#L234]
. In any case we'll have to bring back some methods after the commit that has gone in

> 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
>
>
> 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)

Mime
View raw message