hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Add Columnsize Filter for Scan Operation
Date Thu, 24 Oct 2013 15:03:00 GMT
Hi John,

Sorry it's not going to reply to your question, but if you do a full table
scan, you might want to do it with a MapReduce job so it will be way faster.

For the filter, you might have to implement your own. I'm not sure there is
any filter based on the cell size today :(

JM


2013/10/24 John <johnnyenglish739@gmail.com>

> Hi,
>
> I'm write currently a HBase Java programm which iterates over every row in
> a table. I have to modiy some rows if the column size (the amount of
> columns in this row) is bigger than 25000.
>
> Here is my sourcode: http://pastebin.com/njqG6ry6
>
> Is there any way to add a Filter to the scan Operation and load only rows
> where the size is bigger than 25k?
>
> Currently I check the size at the client, but therefore I have to load
> every row to the client site. It would be better if the wrong rows already
> filtered at the "server" site.
>
> thanks
>
> John
>

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