Class BackupCommands.Command
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Direct Known Subclasses:
BackupCommands.BackupSetCommand
,BackupCommands.CreateCommand
,BackupCommands.DeleteCommand
,BackupCommands.DescribeCommand
,BackupCommands.HelpCommand
,BackupCommands.HistoryCommand
,BackupCommands.MergeCommand
,BackupCommands.ProgressCommand
,BackupCommands.RepairCommand
- Enclosing class:
- BackupCommands
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine
(package private) Connection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
void
finish()
protected abstract void
protected boolean
Command requires consistent state of a backup system Backup system may become inconsistent because of an abnormal termination of a backup session or delete commandprotected boolean
The command can't be run if active backup session is in progressMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Field Details
-
cmdline
org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline -
conn
-
-
Constructor Details
-
Command
Command(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
execute
- Throws:
IOException
-
finish
- Throws:
IOException
-
printUsage
-
requiresNoActiveSession
The command can't be run if active backup session is in progress- Returns:
- true if no active sessions are in progress
-
requiresConsistentState
Command requires consistent state of a backup system Backup system may become inconsistent because of an abnormal termination of a backup session or delete command- Returns:
- true, if yes
-