Class BackupCommands.MergeCommand
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
org.apache.hadoop.hbase.backup.impl.BackupCommands.MergeCommand
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Enclosing class:
- BackupCommands
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.backup.impl.BackupCommands.Command
cmdline, conn -
Constructor Summary
ConstructorsConstructorDescriptionMergeCommand(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()protected 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.hbase.backup.impl.BackupCommands.Command
finishMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Constructor Details
-
MergeCommand
MergeCommand(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline)
-
-
Method Details
-
requiresNoActiveSession
Description copied from class:BackupCommands.CommandThe command can't be run if active backup session is in progress- Overrides:
requiresNoActiveSessionin classBackupCommands.Command- Returns:
- true if no active sessions are in progress
-
requiresConsistentState
Description copied from class:BackupCommands.CommandCommand requires consistent state of a backup system Backup system may become inconsistent because of an abnormal termination of a backup session or delete command- Overrides:
requiresConsistentStatein classBackupCommands.Command- Returns:
- true, if yes
-
execute
- Overrides:
executein classBackupCommands.Command- Throws:
IOException
-
printUsage
- Specified by:
printUsagein classBackupCommands.Command
-