Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB