Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
hbase master
-
Reviewed
Description
HBase supports to create snapshot with TTL, and expired snapshots will be periodically deleted.
This period is 30 min by default, as follow.
private static final String SNAPSHOT_CLEANER_INTERVAL = "hbase.master.cleaner.snapshot.interval"; private static final int SNAPSHOT_CLEANER_DEFAULT_INTERVAL = 1800 * 1000; // Default 30 min
Therefore, the following situation may occur:
The expired snapshot would still exist for a period of time on hbase cluster, and would not be deleted until the next operation of the periodic thread.
So, Sometimes, we may use the expired snapshot because we donot know whether the snapshot is expired.
So, I think we can introduce a expired field for this situation in HBase UI.
And on hbase shell ,adding snapshot TTL info and displaying expired if the snaphost has already expired.
Or any better suggestions? Thanks a lot!
Attachments
Issue Links
- links to