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 03-03-2016 11:03 PM
How we would go about configuring the number of HBase snapshots that are saved? Is there a purge process or setting?
Created 03-03-2016 11:36 PM
@Saumil Mayani it's not an automatic process, you generate a snapshot and delete one manually issuing a command in hbase shell. You can script it and pass to hbase shell, I should be able to help you do that offline, I believe you can also write a Java program to automate it but I have to double check. It is not recommended to keep too many snapshots and recommend you purge them short after using.
Created 03-03-2016 11:36 PM
@Saumil Mayani it's not an automatic process, you generate a snapshot and delete one manually issuing a command in hbase shell. You can script it and pass to hbase shell, I should be able to help you do that offline, I believe you can also write a Java program to automate it but I have to double check. It is not recommended to keep too many snapshots and recommend you purge them short after using.
Created 03-04-2016 12:03 AM
@Artem Ervits is right. There is no purge of snapshots by design. Snapshots are used for referring to data at a later time. Taking a snapshot and keeping a snapshot is an explicit decision that depends only on operations. HBase in no case will delete a snapshot without an explicit command.