hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dingding Ye" <yedingd...@gmail.com>
Subject Re: Deleting old versions from a table
Date Wed, 15 Oct 2008 15:42:59 GMT
Why do you want to do that?  I think limited the column family with VERSIONS
is enough.

On Wed, Oct 15, 2008 at 11:24 PM, Yair Even-Zohar
<yaire@revenuescience.com>wrote:

> I would like to delete old versions from a table on a daily basis and am
> thinking to implement:
>
>
>
> 1) Run a map/reduce (similar to RowCounter) and for each rowid, execute
> a deleteall(rowed, timestamp)
>
> 2) Similar to (1), but with a scanner. I could also write a filter to
> filter retrieve only rowids that have data older then timestamp.
>
>
>
> Before I start writing code, I would like to know if there is an
> existing process to delete old data?
>
>
>
> Thanks
>
> -Yair
>
>
>
>

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