Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - removing ttl


Copy link to this message
-
Re: removing ttl
Jean-Daniel Cryans 2013-06-24, 23:22
TTL is enforced when compactions are running so there's no need to
rewrite the data. The alter is sufficient.

J-D

On Mon, Jun 24, 2013 at 4:15 PM, Kireet <[EMAIL PROTECTED]> wrote:
> I need to remove the TTL setting from an existing HBase table and remove the
> TTL from all existing rows. I think this is the proper command for removing
> the TTL setting:
>
> alter 't', {NAME => 'cf', TTL => '2147483647'}
>
> After doing this, do I need to rewrite all the existing data to remove the
> TTL for each cell, perhaps using the IdentityMapper M/R job?
>
> Thanks
> Kireet
>