Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-12-2016 04:54 AM
the flow variables value is defalt value. (hbase1.1.2 hdp2.3.4.0)
hbase.master.cleaner.interval
hbase.master.cleaner.interval
hbase.master.logcleaner.ttl
my hbase table is set 2 days ttl ,I do major_compact 'tablename' every day.
but 2 month later,I find hdfs /apps/hbase/data/data/default/tablename grows up every day.
why ? Please help me. Thanks very much
Created 12-15-2016 05:28 PM
One thing just popped up in my mind. Do you have snapshots that may be pointing to your data? In that case, data is not deleted by major compaction and moved to an archiving folder. See under /hbase if you have .archive folder.
Created 12-12-2016 05:49 AM
Can you check the setting for keep deleted cells fo your column family?
https://hbase.apache.org/book.html#cf.keep.deleted
Also, have you set the following?
hbase.hstore.time.to.purge.deletes
If yes, what's the value?
Created 12-12-2016 06:06 AM
Both these two value which I didn't set,it may default values . But in my case, did these two values affect deletion ?
Created 12-12-2016 06:16 AM
hbase.hstore.time.to.purge.deletes default is 0
Created 12-12-2016 06:17 AM
I just want to move ttl timeout data away from my disk.
Created 12-12-2016 06:23 AM
hbase.hstore.time.to.purge.deletes has been changed; if it is not set, or set to 0, all delete markers including those with future timestamp are purged during the later major compaction. Otherwise, a delete marker is kept until the major compaction after marker's timestamp + this setting.
I think these two value which have nothing to do in my case.
Created 12-12-2016 04:07 PM
Can you please share the result of following command: describe 'TABLE_NAME'
Created 12-27-2016 11:03 AM
hbase(main):002:0> describe 'goods_new' Table goods_new is ENABLED goods_new COLUMN FAMILIES DESCRIPTION {NAME => 'v', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'TRUE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'LZO', MIN_VERSIONS => '0', BLOCKCACHE = > 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'} 1 row(s) in 0.2250 seconds hbase(main):003:0>
hbase api delete data very day.
Created 12-15-2016 05:28 PM
One thing just popped up in my mind. Do you have snapshots that may be pointing to your data? In that case, data is not deleted by major compaction and moved to an archiving folder. See under /hbase if you have .archive folder.
Created 12-20-2016 02:27 AM
Thank you very much.