Yes i need the column names. Writing to 2 table will have too much payload. I have very strict requirement on latency/throughput having additional round trip just for getting the meta data of a row is too much. Similarly to http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HBaseAdmin.html#listTables() where i can get the table list from hbase (and don't need to manually maintain a separate table to get this information), i would expect to have meta data at row level for a specific key. If St.Ack proposal doesn't work do you think adding such functionality?
BTW i also added an enhancement in jira for supporting such functionality in the shell. Mikael.S On Mon, Nov 28, 2011 at 11:21 PM, Michel Segel <[email protected]>wrote: > 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 <[email protected]> wrote: > > > On Mon, Nov 28, 2011 at 8:54 AM, Mikael Sitruk <[email protected]> > 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 > > > -- Mikael.S
