- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How we would go about configuring the number of HBase snapshots that are saved? Is there a purge process or setting?
- Labels:
-
Apache HBase
Created ‎03-03-2016 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
