public abstract static class BackupCommands.Command extends org.apache.hadoop.conf.Configured
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine |
cmdline |
(package private) Connection |
conn |
Constructor and Description |
---|
Command(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
finish() |
protected abstract void |
printUsage() |
protected boolean |
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
|
protected boolean |
requiresNoActiveSession()
The command can't be run if active backup session is in progress
|
org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline
Connection conn
Command(org.apache.hadoop.conf.Configuration conf)
public void execute() throws IOException
IOException
public void finish() throws IOException
IOException
protected abstract void printUsage()
protected boolean requiresNoActiveSession()
protected boolean requiresConsistentState()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.