ttl modify hbase table

 

hbase(main):002:0> describe 'TraceV2'
Table TraceV2 is ENABLED
TraceV2
COLUMN FAMILIES DESCRIPTION
{NAME => 'S', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'PREFIX', TTL => '5184000 SECONDS (60 DAYS)', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'tr
ue', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'}
1 row(s) in 0.1710 seconds

 

disable 'TraceV2'
ALTER 'TraceV2', {NAME => 'S', the TTL => '2592000' modified ##} 30 days
enable 'TraceV2'

Guess you like

Origin www.cnblogs.com/hxlasky/p/11262290.html