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
ConstructorDescriptionMergeCommand
(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
protected 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.hbase.backup.impl.BackupCommands.Command
finish
Methods 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.Command
The command can't be run if active backup session is in progress- Overrides:
requiresNoActiveSession
in classBackupCommands.Command
- Returns:
- true if no active sessions are in progress
-
requiresConsistentState
Description copied from class:BackupCommands.Command
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- Overrides:
requiresConsistentState
in classBackupCommands.Command
- Returns:
- true, if yes
-
execute
- Overrides:
execute
in classBackupCommands.Command
- Throws:
IOException
-
printUsage
- Specified by:
printUsage
in classBackupCommands.Command
-