Oh! I know why!

MIN_VERSIONS is setup to 1! Soyou will always have at least one version,
even if TTL is passed.

If you really want all to be removed, change this to 0.

JM


2014-09-02 14:58 GMT-04:00 Ted Yu <[email protected]>:

> What release of hbase are you using ?
>
> Have you checked region server log for compaction related logs ?
>
> Cheers
>
> On Sep 2, 2014, at 11:40 AM, Serega Sheypak <[email protected]>
> wrote:
>
> > Hi, I'm trying to use HBase TTL feature
> > here is table DDL:
> >
> > hbase(main):004:0> describe 'item_to_item_similar_rec'
> > DESCRIPTION
> >                                                   ENABLED
> >
> > {NAME => 'my_table', FAMILIES => [{NAME => 'd', DATA_BLOCK_ENCODING =>
> > 'NONE', BLOOMFILTER => 'ROWCOL', REPLI true
> >
> > CATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS
> > => '1', TTL => '172800', KEEP_DELETED_CELLS => 'fal
> >
> > se', BLOCKSIZE => '65536', IN_MEMORY => 'true', ENCODE_ON_DISK => 'true',
> > BLOCKCACHE => 'true'}]}
> >
> > 1 row(s) in 0.1730 seconds
> >
> > It has ttl set to 172800 seconds = 2 days.
> > I see a cells that are much older than two days:
> >
> > column=d:099, timestamp=1409049061509, value=\x01\
> > current ts = 1409679511000
> >
> > 1409679511000 - 1409049061509 = 630449491
>

Reply via email to