[jira] [Updated] (HDFS-8856) Make LeaseManager#countPath O(1)

2015-08-06 Thread Arpit Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-8856: Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 2.8.0 Target Version/

[jira] [Updated] (HDFS-8856) Make LeaseManager#countPath O(1)

2015-08-06 Thread Arpit Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-8856: Attachment: HDFS-8856.04.patch Thanks for the clarification [~hitliuyi]. Looks like the bug around fo

[jira] [Updated] (HDFS-8856) Make LeaseManager#countPath O(1)

2015-08-05 Thread Arpit Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-8856: Attachment: HDFS-8856.03.patch > Make LeaseManager#countPath O(1) >

[jira] [Updated] (HDFS-8856) Make LeaseManager#countPath O(1)

2015-08-05 Thread Arpit Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-8856: Attachment: HDFS-8856.02.patch Thanks for the reviews. v2 patch attached. bq. Is it possible to retu

[jira] [Updated] (HDFS-8856) Make LeaseManager#countPath O(1)

2015-08-04 Thread Arpit Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-8856: Status: Patch Available (was: Open) > Make LeaseManager#countPath O(1) > ---

[jira] [Updated] (HDFS-8856) Make LeaseManager#countPath O(1)

2015-08-04 Thread Arpit Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-8856: Attachment: HDFS-8856.01.patch Also remove redundant call to {{getNumUnderConstructionBlocks}} on sta