建表时可以设置TTL过期时间:create 'tableName',{NAME=>'cf',TTL=>超时时间秒为单位}
后期修改
首先停表:disable 'tableName'
然后修改TTL失效时间:alter 'tableName',NAME => 'cf', TTL => 超时时间秒为单位
恢复表:enable 'tableName'
查看表元数据:describe 'tableName'
建表时可以设置TTL过期时间:create 'tableName',{NAME=>'cf',TTL=>超时时间秒为单位}
后期修改
首先停表:disable 'tableName'
然后修改TTL失效时间:alter 'tableName',NAME => 'cf', TTL => 超时时间秒为单位
恢复表:enable 'tableName'
查看表元数据:describe 'tableName'