[
https://issues.apache.org/jira/browse/PHOENIX-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14005317#comment-14005317
]
Andrew Purtell commented on PHOENIX-992:
----------------------------------------
getRowOrBefore shouldn't be used and has been deprecated long enough, HBase
should yank it from the API, but I wouldn't expect that to happen in 0.94.
> 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.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)