Class BackupSystemTable

java.lang.Object
org.apache.hadoop.hbase.backup.impl.BackupSystemTable
All Implemented Interfaces:
Closeable, AutoCloseable

@Private public final class BackupSystemTable extends Object implements Closeable
This class provides API to access backup system table
Backup system table schema:

  • 1. Backup sessions rowkey= "session:"+backupId; value =serialized BackupInfo
  • 2. Backup start code rowkey = "startcode:"+backupRoot; value = startcode
  • 3. Incremental backup set rowkey="incrbackupset:"+backupRoot; table="meta:"+tablename of include table; value=empty
  • 4. Table-RS-timestamp map rowkey="trslm:"+backupRoot+table_name; value = map[RS-> last WAL timestamp]
  • 5. RS - WAL ts map rowkey="rslogts:"+backupRoot +server; value = last WAL timestamp
  • 6. WALs recorded rowkey="wals:"+WAL unique file name; value = backupId and full WAL file name