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 08-04-2017 05:39 PM
Created 08-04-2017 06:13 PM
You can use Time To Live (TTL) attribute for the table for this. You can read about it here https://hbase.apache.org/book.html#ttl
Created 08-04-2017 06:13 PM
You can use Time To Live (TTL) attribute for the table for this. You can read about it here https://hbase.apache.org/book.html#ttl
Created 08-04-2017 06:39 PM
Thanks for the quick response.
After setting TTL in table we have to run the Major to delete older-than-TTL-time data right?
How to do this.
Created 08-07-2017 06:22 AM
you can use "major_compact" command to run a major compaction on the table.
In HBase shell:-
hbase(main):013:0> major_compact 'tablename'