public class HdfsConfParityValidationTask extends HdfsConfValidationTask
Modifier and Type | Field and Description |
---|---|
protected static String |
HADOOP_CONF_DIR_ENV_VAR
Name of the environment variable to store the path to Hadoop config directory.
|
protected static org.apache.commons.cli.Option |
HADOOP_CONF_DIR_OPTION |
mConf, SEPARATOR
Constructor and Description |
---|
HdfsConfParityValidationTask(String path,
AlluxioConfiguration conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the task.
|
List<org.apache.commons.cli.Option> |
getOptionList() |
ValidationUtils.TaskResult |
validate(Map<String,String> optionsMap)
Runs the validation task.
|
checkConflicts, getHdfsConfPaths, loadHdfsConfig
protected static final String HADOOP_CONF_DIR_ENV_VAR
protected static final org.apache.commons.cli.Option HADOOP_CONF_DIR_OPTION
public HdfsConfParityValidationTask(String path, AlluxioConfiguration conf)
path
- the UFS pathconf
- the UFS configurationpublic String getName()
ValidationTask
getName
in interface ValidationTask
getName
in class HdfsConfValidationTask
public ValidationUtils.TaskResult validate(Map<String,String> optionsMap)
ValidationTask
validate
in interface ValidationTask
validate
in class HdfsConfValidationTask
optionsMap
- contains string representation of public List<org.apache.commons.cli.Option> getOptionList()
getOptionList
in interface ValidationTask
getOptionList
in class AbstractValidationTask
Option
required by this taskCopyright © 2023. All Rights Reserved.