public class CreateHmsClientValidationTask extends MetastoreValidationTask<java.lang.String,org.apache.hadoop.hive.metastore.IMetaStoreClient>
mInputTask| Constructor and Description |
|---|
CreateHmsClientValidationTask(int socketTimeout,
MetastoreValidationTask<?,java.lang.String> input)
Create a new instance of
CreateHmsClientValidationTask. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
protected Pair<ValidationTaskResult,org.apache.hadoop.hive.metastore.IMetaStoreClient> |
getValidationWithResult() |
ValidationTaskResult |
validateImpl(java.util.Map<java.lang.String,java.lang.String> optionMap) |
getOptionList, validatepublic CreateHmsClientValidationTask(int socketTimeout,
MetastoreValidationTask<?,java.lang.String> input)
CreateHmsClientValidationTask.socketTimeout - the timeout when connecting to the metastoreinput - the input task providing the URI(s)public java.lang.String getName()
public ValidationTaskResult validateImpl(java.util.Map<java.lang.String,java.lang.String> optionMap) throws java.lang.InterruptedException
validateImpl in class MetastoreValidationTask<java.lang.String,org.apache.hadoop.hive.metastore.IMetaStoreClient>java.lang.InterruptedExceptionprotected Pair<ValidationTaskResult,org.apache.hadoop.hive.metastore.IMetaStoreClient> getValidationWithResult() throws java.lang.InterruptedException
Pair.getFirst() will be null if the connection
to the metastore was successful, otherwise if there is a failure Pair.getSecond()
will be nulljava.lang.InterruptedException - if the task is interruptedCopyright © 2020. All Rights Reserved.