public class HdfsVersionValidationTask extends AbstractValidationTask
Modifier and Type | Field and Description |
---|---|
static String |
CDH_PREFIX |
static String |
HADOOP_PREFIX |
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) |
ValidationTaskResult |
validateImpl(Map<String,String> optionMap) |
getOptionList, validate
public static final String HADOOP_PREFIX
public static final String CDH_PREFIX
public HdfsVersionValidationTask(AlluxioConfiguration conf)
HdfsVersionValidationTask
for validating HDFS version.conf
- configurationpublic String getName()
ValidationTask
public ValidationTaskResult validateImpl(Map<String,String> optionMap) throws InterruptedException
validateImpl
in class AbstractValidationTask
InterruptedException
protected String getHadoopVersion() throws IOException
IOException
Copyright © 2023. All Rights Reserved.