Hi,
The problem of your scan is that filter will grab all data then do the
filter things. Thus it's very slow.
You may try to specify the column family when you scan, like
"scan 't1', { LIMIT => 10, COLUMNS => ['c1', 'c2'], CACHE_BLOCKS => false}".

Sincerely,
Jingyun Tian

On Wed, Nov 14, 2018 at 5:43 AM Antonio Si <antonio...@gmail.com> wrote:

> Hi,
>
> Is there an easy way to check if a column family of a hbase table has any
> data?
>
> I try something like "scan '<table name>', { LIMIT => 10,
> FILTER=>"FamilyFilter(=, 'binary:<family name>')" } in hbase shell and it
> timeout. I guess it's because my table
> has 15TB of data. So, I am guessing that particular family has no data, but
> I need a way to confirm that.
>
> Any pointers would be appreciated.
>
> Thanks.
>
> Antonio.
>

Reply via email to