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

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


+
Kireet 2013-06-24, 23:15
+
Jean-Daniel Cryans 2013-06-24, 23:22
Copy link to this message
-
Re: removing ttl
Jean-Marc Spaggiari 2013-06-24, 23:21
Have you tried something like

alter 't1', METHOD => 'table_att_unset', NAME => 'TTL'

?

And I don't think you will need to rewrite anything.

JM

2013/6/24 Kireet <[EMAIL PROTECTED]>:
> 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
>