hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4296) Deprecate HTable[Interface].getRowOrBefore(...)
Date Thu, 22 Sep 2011 21:39:26 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112935#comment-13112935
] 

Jonathan Gray commented on HBASE-4296:
--------------------------------------

Over in HBASE-4461 I am exposing this method to Thrift to enable building fat Thrift-based
clients.  Rather than deprecating this, could we just notate that it is an expensive operation
and not for normal operations?  Or even only allow it to work on ROOT and META?

> Deprecate HTable[Interface].getRowOrBefore(...)
> -----------------------------------------------
>
>                 Key: HBASE-4296
>                 URL: https://issues.apache.org/jira/browse/HBASE-4296
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Trivial
>             Fix For: 0.92.0
>
>         Attachments: 4296.txt
>
>
> HTable's getRowOrBefore(...) internally calls into Store.getRowKeyAtOrBefore. That method
was created to allow our scanning of .META. (see HBASE-2600).
> Store.getRowKeyAtOrBefore(...) lists a bunch of requirements for this to be performant
that a user of HTable will not be aware of.
> I propose deprecating this in the public interface in 0.92 and removing it from the public
interface in 0.94. If we don't get to HBASE-2600 in 0.94 it will still remain as internal
interface for scanning meta.
> Comments?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message