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

[~giacomotaylor] The issue may in 3.0 as well but my understanding that 
ReverseScan isn't in 0.94 branch so there is no good way to replace it.

Here is the patch which is using reverse scan to get the maxKey of a table. 

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

Reply via email to