hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteban Gutierrez <este...@cloudera.com>
Subject Re: ttl problem, cells are not deleted
Date Tue, 02 Sep 2014 18:53:35 GMT
Hi Serega,

Can you try to find the HFile with that has this row? do you see any issue
in the region server if this is trying to compact this HFile?

cheers,
esteban.


--
Cloudera, Inc.



On Tue, Sep 2, 2014 at 11:46 AM, Serega Sheypak <serega.sheypak@gmail.com>
wrote:

> major comactions are not disabled.
> hbase.hregion.majorcompaction=1day... a lot of days passed, what can I also
> check?
> table has ~30*10^6 records, it's a tiny table.
>
>
> 2014-09-02 22:43 GMT+04:00 Jean-Marc Spaggiari <jean-marc@spaggiari.org>:
>
> > Is it a big table? A test cluster? Can you try to compact the table?
> >
> >
> > 2014-09-02 14:40 GMT-04:00 Serega Sheypak <serega.sheypak@gmail.com>:
> >
> > > 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
> > >
> >
>

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