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.