hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lars hofhansl <lhofha...@yahoo.com>
Subject Re: getting row info without data
Date Mon, 28 Nov 2011 23:45:18 GMT
Seems like KeyOnlyFilter is what is needed here.

It'll filter the value, but leave the entire key (rowKey, CF, column, TS, type) in place.


Note that scanning with KeyOnlyFilter is not necessarily faster, the only part saved is shipping
the value to the client.

-- Lars


----- Original Message -----
From: Michel Segel <michael_segel@hotmail.com>
To: "user@hbase.apache.org" <user@hbase.apache.org>
Cc: "user@hbase.apache.org" <user@hbase.apache.org>
Sent: Monday, November 28, 2011 1:21 PM
Subject: Re: getting row info without data

Doesn't sound like it... He mentions column names...
sounds like he would be better off writing to two tables. One that stores only the column
name and one that stores the data in each column.


Sent from a remote device. Please excuse any typos...

Mike Segel

On Nov 28, 2011, at 11:54 AM, Stack <stack@duboce.net> wrote:

> On Mon, Nov 28, 2011 at 8:54 AM, Mikael Sitruk <mikael.sitruk@gmail.com> wrote:
>> Hi
>> 
>> I would like to know if it is possible to retrieve the columns name and not
>> the whole content of rows.
>> The reason for such request is that the columns store high volumn of data
>> (2K) each (and i store 900 columns per key).
>> Retrieving the whole row and not the "Description/Metadata" of the row is
>> in this case very expensive.
>> 
> 
> Will http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
> work for you?
> St.Ack
> 


Mime
View raw message