public class HdfsVersionValidationTask extends AbstractValidationTask
Constructor and Description |
---|
HdfsVersionValidationTask(AlluxioConfiguration conf)
Creates a new instance of
HdfsVersionValidationTask
for validating HDFS version. |
Modifier and Type | Method and Description |
---|---|
protected String |
getHadoopVersion() |
String |
getName()
Gets the name of the task.
|
protected String |
parseVersion(String output) |
ValidationUtils.TaskResult |
validate(Map<String,String> optionMap)
Runs the validation task.
|
getOptionList
public HdfsVersionValidationTask(AlluxioConfiguration conf)
HdfsVersionValidationTask
for validating HDFS version.conf
- configurationpublic String getName()
ValidationTask
public ValidationUtils.TaskResult validate(Map<String,String> optionMap) throws InterruptedException
ValidationTask
optionMap
- contains string representation of InterruptedException
protected String getHadoopVersion() throws IOException
IOException
Copyright © 2023. All Rights Reserved.