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