hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Nigam <ashnigamt...@gmail.com>
Subject Re: HBase Column Family TTL and cell deletions
Date Wed, 03 Apr 2013 19:03:13 GMT
minVersion is set to 0
Here's detailed info on this CF -

{NAME => 'stats-hourly', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER =>
'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'LZO',
MIN_VERSIONS => '0', TTL => '604800', KEEP_DELETED_CELLS => 'false',
BLOCKSIZE => '65536', IN_MEMORY => 'false', ENCODE_ON_DISK => 'true',
BLOCKCACHE => 'true'}

HBase version is 0.94.2-cdh4.2.0,



On Wed, Apr 3, 2013 at 11:48 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> Is it possible that minVersions was set for your column family ?
>
> What version of HBase are you using ?
>
> Thanks
>
>
> On Wed, Apr 3, 2013 at 11:34 AM, Ashish Nigam <ashnigamtech@gmail.com
> >wrote:
>
> > Hi,
> > I have a table "service_counters" that has service id as row id.
> > There is a column family "stats-hourly" that stores counters related to
> > that service per hour.
> > I have set TTL to be 7 days for the column family.
> >
> > {NAME => 'service_counters', FAMILIES => [{NAME => 'stats-hourly',
> > COMPRESSION => 'LZO', TTL => '604800'}]}
> >
> > Now the problem is that I still see columns that are more than 7 days
> old.
> > I have also run major compactions but I still see old rows.
> > Any pointers as to why these columns are not being deleted?
> >
> > Thanks
> > Ashish
> >
>

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