[ https://issues.apache.org/jira/browse/PHOENIX-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey Zhong updated PHOENIX-992: ---------------------------------- Attachment: phoenix-992-v2.patch Thanks [~giacomotaylor] for the review! All tests passed locally with small tweaks on the number of parallel scans(more parallels) which may mean previous maxKey is smaller. If no objections, I'll commit v2 patch tomorrow. Thanks. > Replace hTable.getRowOrBefore with ReverseScan to get maxKey in > StatsManagerImpl > -------------------------------------------------------------------------------- > > Key: PHOENIX-992 > URL: https://issues.apache.org/jira/browse/PHOENIX-992 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.0.0, 5.0.0 > Reporter: Jeffrey Zhong > Assignee: Jeffrey Zhong > Priority: Critical > Attachments: phoenix-992-v2.patch, phoenix-992.patch > > > Below is the java doc of the function in HBase and we should remove it ASAP > {noformat} > * @deprecated As of version 0.92 this method is deprecated without > * replacement. > * getRowOrBefore is used internally to find entries in hbase:meta and makes > * various assumptions about the table (which are true for hbase:meta but > not > * in general) to be efficient. > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)