public class HdfsConfValidationTask extends AbstractValidationTask
Modifier and Type | Field and Description |
---|---|
protected AlluxioConfiguration |
mConf |
static String |
SEPARATOR |
Constructor and Description |
---|
HdfsConfValidationTask(String path,
AlluxioConfiguration conf)
Creates a new instance of
HdfsConfValidationTask
for validating HDFS configuration. |
Modifier and Type | Method and Description |
---|---|
protected ValidationUtils.TaskResult |
checkConflicts() |
protected Pair<String,String> |
getHdfsConfPaths() |
String |
getName()
Gets the name of the task.
|
protected ValidationUtils.TaskResult |
loadHdfsConfig() |
ValidationUtils.TaskResult |
validate(Map<String,String> optionsMap)
Runs the validation task.
|
getOptionList
public static final String SEPARATOR
protected final AlluxioConfiguration mConf
public HdfsConfValidationTask(String path, AlluxioConfiguration conf)
HdfsConfValidationTask
for validating HDFS configuration.path
- the UFS pathconf
- the UFS configurationpublic String getName()
ValidationTask
protected ValidationUtils.TaskResult loadHdfsConfig()
public ValidationUtils.TaskResult validate(Map<String,String> optionsMap)
ValidationTask
optionsMap
- contains string representation of protected ValidationUtils.TaskResult checkConflicts()
Copyright © 2023. All Rights Reserved.