public class CreateHmsClientValidationTask extends MetastoreValidationTask<String,org.apache.hadoop.hive.metastore.IMetaStoreClient>
mInputTask
Constructor and Description |
---|
CreateHmsClientValidationTask(int socketTimeout,
MetastoreValidationTask<?,String> input)
Create a new instance of
CreateHmsClientValidationTask . |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the task.
|
protected Pair<ValidationTaskResult,org.apache.hadoop.hive.metastore.IMetaStoreClient> |
getValidationWithResult() |
ValidationTaskResult |
validateImpl(Map<String,String> optionMap) |
getOptionList, validate
public CreateHmsClientValidationTask(int socketTimeout, MetastoreValidationTask<?,String> input)
CreateHmsClientValidationTask
.socketTimeout
- the timeout when connecting to the metastoreinput
- the input task providing the URI(s)public String getName()
ValidationTask
public ValidationTaskResult validateImpl(Map<String,String> optionMap) throws InterruptedException
validateImpl
in class MetastoreValidationTask<String,org.apache.hadoop.hive.metastore.IMetaStoreClient>
InterruptedException
protected Pair<ValidationTaskResult,org.apache.hadoop.hive.metastore.IMetaStoreClient> getValidationWithResult() throws InterruptedException
Pair.getFirst()
has a state of
ValidationUtils.State.OK
, then Pair.getSecond()
will be non-nullInterruptedException
Copyright © 2023. All Rights Reserved.