public class HdfsValidationTask extends AbstractValidationTask
ValidationTask.TaskResult
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 |
Constructor and Description |
---|
HdfsValidationTask()
Constructor of
HdfsValidationTask . |
Modifier and Type | Method and Description |
---|---|
List<org.apache.commons.cli.Option> |
getOptionList() |
protected boolean |
shouldSkip() |
ValidationTask.TaskResult |
validate(Map<String,String> optionsMap)
Runs the validation task.
|
protected static final String HADOOP_CONF_DIR_ENV_VAR
protected static final org.apache.commons.cli.Option HADOOP_CONF_DIR_OPTION
public HdfsValidationTask()
HdfsValidationTask
.public List<org.apache.commons.cli.Option> getOptionList()
getOptionList
in interface ValidationTask
getOptionList
in class AbstractValidationTask
Option
required by this taskpublic ValidationTask.TaskResult validate(Map<String,String> optionsMap)
ValidationTask
optionsMap
- contains string representation of protected boolean shouldSkip()
Copyright © 2023. All Rights Reserved.