public static class BackupCommands.HistoryCommand extends BackupCommands.Command
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_HISTORY_LENGTH |
cmdline, conn
Constructor and Description |
---|
HistoryCommand(org.apache.hadoop.conf.Configuration conf,
org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private org.apache.hadoop.fs.Path |
getBackupRootPath() |
private TableName |
getTableName() |
private String |
getTableSetName() |
private int |
parseHistoryLength() |
protected void |
printUsage() |
finish, requiresConsistentState, requiresNoActiveSession
private static final int DEFAULT_HISTORY_LENGTH
HistoryCommand(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmdline)
public void execute() throws IOException
execute
in class BackupCommands.Command
IOException
private org.apache.hadoop.fs.Path getBackupRootPath() throws IOException
IOException
private TableName getTableName() throws IOException
IOException
private String getTableSetName()
private int parseHistoryLength() throws IOException
IOException
protected void printUsage()
printUsage
in class BackupCommands.Command
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.