You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Joel Halbert <jo...@su3analytics.com> on 2011/11/02 10:47:43 UTC

VERSIONS and TTL mutually exclusive?

I'm using HBase 0.20.6.

For column definitions are VERSIONS and TTL mutually exclusive?

For example, what happens if I define a column like so:

create "pages", {NAME => 'info', COMPRESSION=>'gz', VERSIONS=>30, TTL =>
'2592000'}


Will only one of VERSIONS and TTL be used ? If so, which?

J


Re: VERSIONS and TTL mutually exclusive?

Posted by Stack <st...@duboce.net>.
On Wed, Nov 2, 2011 at 2:47 AM, Joel Halbert <jo...@su3analytics.com> wrote:
> I'm using HBase 0.20.6.
>
> For column definitions are VERSIONS and TTL mutually exclusive?
>
> For example, what happens if I define a column like so:
>
> create "pages", {NAME => 'info', COMPRESSION=>'gz', VERSIONS=>30, TTL =>
> '2592000'}
>
>
> Will only one of VERSIONS and TTL be used ? If so, which?
>

No.

It will keep up to 30 versions.  Any version older than 2592000 will be let go.

You need to upgrade.

Yours,
St.Ack