@InterfaceAudience.LimitedPrivate(value="Tools") public class PreUpgradeValidator extends Object implements org.apache.hadoop.util.Tool
Available validations:
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
configuration |
private static org.slf4j.Logger |
LOG |
static String |
TOOL_NAME |
static String |
VALIDATE_CP_NAME |
static String |
VALIDATE_DBE_NAME |
static String |
VALIDATE_HFILE |
Constructor and Description |
---|
PreUpgradeValidator() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static void |
main(String[] args) |
private void |
printUsage() |
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
private static final org.slf4j.Logger LOG
public static final String TOOL_NAME
public static final String VALIDATE_CP_NAME
public static final String VALIDATE_DBE_NAME
public static final String VALIDATE_HFILE
private org.apache.hadoop.conf.Configuration configuration
public PreUpgradeValidator()
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
private void printUsage()
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.