You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Vishal Kapoor <vi...@gmail.com> on 2011/03/29 00:28:13 UTC

HTable first and last row?

How do I find the first and last row id of the table in Hbase?
I tried
Htable.getStopKeys() and Htable.getEndKeys()
does not work,
all I need is the absolute start/stop row id of a table at a given
point in time.

any direction?

thanks,
vk

Re: HTable first and last row?

Posted by Vishal Kapoor <vi...@gmail.com>.
Ted,

thanks for the quick response

vk

On Mon, Mar 28, 2011 at 6:32 PM, Ted Yu <yu...@gmail.com> wrote:
> See the 'min, max' discussion on hbase user mailing list
>
> On Mon, Mar 28, 2011 at 3:28 PM, Vishal Kapoor <vi...@gmail.com>
> wrote:
>>
>> How do I find the first and last row id of the table in Hbase?
>> I tried
>> Htable.getStopKeys() and Htable.getEndKeys()
>> does not work,
>> all I need is the absolute start/stop row id of a table at a given
>> point in time.
>>
>> any direction?
>>
>> thanks,
>> vk
>
>

Re: HTable first and last row?

Posted by Ted Yu <yu...@gmail.com>.
See the 'min, max' discussion on hbase user mailing list

On Mon, Mar 28, 2011 at 3:28 PM, Vishal Kapoor
<vi...@gmail.com>wrote:

> How do I find the first and last row id of the table in Hbase?
> I tried
> Htable.getStopKeys() and Htable.getEndKeys()
> does not work,
> all I need is the absolute start/stop row id of a table at a given
> point in time.
>
> any direction?
>
> thanks,
> vk
>