@InterfaceAudience.LimitedPrivate(value="Tools") public class PreUpgradeValidator extends Object implements org.apache.hadoop.util.Tool
Available validations:
Modifier and Type | Field and Description |
---|---|
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) |
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
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
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
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
public static void main(String[] args)
Copyright © 2007–2019 Cloudera. All rights reserved.