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 ValidationTaskResult |
checkConflicts() |
protected ValidationTaskResult |
checkNameservice() |
protected Pair<String,String> |
getHdfsConfPaths() |
String |
getName()
Gets the name of the task.
|
protected ValidationTaskResult |
loadHdfsConfig() |
ValidationTaskResult |
validateImpl(Map<String,String> optionsMap) |
getOptionList, validate
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 ValidationTaskResult loadHdfsConfig()
public ValidationTaskResult validateImpl(Map<String,String> optionsMap)
validateImpl
in class AbstractValidationTask
protected ValidationTaskResult checkNameservice()
protected ValidationTaskResult checkConflicts()
Copyright © 2023. All Rights Reserved.