[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661888#comment-14661888 ]
Hudson commented on HDFS-8856: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #2226 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2226/]) HDFS-8856. Make LeaseManager#countPath O(1). (Contributed by Arpit Agarwal) (arp: rev 6d4eee718a3fe1450a627128eb94728011bd9b68) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/LeaseManager.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestLeaseManager.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/Checkpointer.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > 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 > Fix For: 2.8.0 > > Attachments: HDFS-8856.01.patch, HDFS-8856.02.patch, > HDFS-8856.03.patch, HDFS-8856.04.patch > > > {{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)