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 SummaryFieldsModifier and TypeFieldDescription(package private) org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine(package private) Connection
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()voidfinish()protected abstract voidprotected booleanCommand requires consistent state of a backup system Backup system may become inconsistent because of an abnormal termination of a backup session or delete commandprotected booleanThe command can't be run if active backup session is in progressMethods inherited from class org.apache.hadoop.conf.ConfiguredgetConf, setConf
- 
Field Details- 
cmdlineorg.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline
- 
conn
 
- 
- 
Constructor Details- 
CommandCommand(org.apache.hadoop.conf.Configuration conf) 
 
- 
- 
Method Details- 
execute- Throws:
- IOException
 
- 
finish- Throws:
- IOException
 
- 
printUsage
- 
requiresNoActiveSessionThe command can't be run if active backup session is in progress- Returns:
- true if no active sessions are in progress
 
- 
requiresConsistentStateCommand 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
 
 
-