hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharath Vissapragada <bhara...@cloudera.com>
Subject Re: Getting all rows from .META. for a specific table.
Date Fri, 25 Apr 2014 10:05:46 GMT
You can use a prefix filter something like as follows

hbase(main):013:0> scan '.META.', {FILTER => "PrefixFilter('t1')"}

Gives all the rows which corresponds to table 't1' as all the row keys
start with "t1".


On Fri, Apr 25, 2014 at 3:19 PM, David Koch <ogdude@googlemail.com> wrote:

> Hi,
>
> How do I get all rows from .META. pertaining to a specific table? I don't
> want to scan all of .META. and then do a grep on the output since .META. is
> quite large but I don't know how to use HBase filters from hbase shell.
>
> Thanks,
>
> /David
>



-- 
Bharath Vissapragada
<http://www.cloudera.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message