You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Mark Kerzner <ma...@gmail.com> on 2011/01/31 20:02:50 UTC
Using the Hbase shell to browse?
Hi,
is there a way to get "top ... rows" from a table using the shell, or rows
for a range of keys?
Thank you,
Mark
Re: Using the Hbase shell to browse?
Posted by Mark Kerzner <ma...@gmail.com>.
Worked perfectly well. Some people know stuff...:)
Thank you
On Mon, Jan 31, 2011 at 1:09 PM, Stack <st...@duboce.net> wrote:
> Top? You mean those that sort first? You could start a scan in the
> shell at a particular row and then limit the return:
>
> hbase> scan 'TABLENAME', {STARTROW => 'xyz', LIMIT => 10}
>
> Run 'help' to see more on the scan command.
>
> St.Ack
>
> On Mon, Jan 31, 2011 at 11:02 AM, Mark Kerzner <ma...@gmail.com>
> wrote:
> > Hi,
> >
> > is there a way to get "top ... rows" from a table using the shell, or
> rows
> > for a range of keys?
> >
> > Thank you,
> > Mark
> >
>
Re: Using the Hbase shell to browse?
Posted by Stack <st...@duboce.net>.
Top? You mean those that sort first? You could start a scan in the
shell at a particular row and then limit the return:
hbase> scan 'TABLENAME', {STARTROW => 'xyz', LIMIT => 10}
Run 'help' to see more on the scan command.
St.Ack
On Mon, Jan 31, 2011 at 11:02 AM, Mark Kerzner <ma...@gmail.com> wrote:
> Hi,
>
> is there a way to get "top ... rows" from a table using the shell, or rows
> for a range of keys?
>
> Thank you,
> Mark
>