hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8856) Make LeaseManager#countPath O(1)
Date Wed, 05 Aug 2015 03:44:05 GMT
Arpit Agarwal created HDFS-8856:
-----------------------------------

             Summary: Make LeaseManager#countPath O(1)
                 Key: HDFS-8856
                 URL: https://issues.apache.org/jira/browse/HDFS-8856
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 2.7.2
            Reporter: Arpit Agarwal
            Assignee: Arpit Agarwal


{{LeaseManager#countPath}} loops over all existing lease holders to compute the pending lease
count. We can just track the pending leased files so it runs in constant time.



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

Mime
View raw message