hbase 调整TTL为10天

describe "value_data"
disable "value_data"
alter 'value_data', NAME => 'values', TTL => 864000
enable "value_data"
hadoop dfs -du -h /hbase/data/default

test

describe "value_data"
scan 'value_data', {LIMIT => 10,TIMERANGE => [1451577600000,1483113600000]}
scan 'value_data', {LIMIT => 10,TIMERANGE => [1451577600000,1486224000000]}
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""