[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-13 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5388: -- Attachment: 5388-v3.txt Patch v3 aligns lowerValueByKey() with the rest of methods in

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-13 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5388: - Attachment: 5388-v4.txt How about this one? This has still type-safety everywhere.

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-13 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5388: -- Attachment: 5388-v5.txt Addressed Lars' comments earlier. Also fixed HConstants.EMPTY_END_ROW in the

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-13 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5388: -- Comment: was deleted (was: -1 overall. Here are the results of testing the latest attachment

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-13 Thread ronghai.ma (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ronghai.ma updated HBASE-5388: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available)

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-12 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5388: -- Description: About 75% improvement in execution time. 1. Add the following method in

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-12 Thread ronghai.ma (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ronghai.ma updated HBASE-5388: -- Attachment: SoftValueSortedMap.java HConnectionManager.java patch files

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-12 Thread ronghai.ma (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ronghai.ma updated HBASE-5388: -- Attachment: SoftValueSortedMap.java rename the method's name and change the TreeMap to NavigableMap of

[jira] [Updated] (HBASE-5388) Tuning HConnectionManager#getCachedLocation method

2012-02-12 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5388: -- Attachment: 5388-v2.txt Patch v2 is adapted from the files Ronghai attached. I think the following