@InterfaceAudience.Public @InterfaceStability.Evolving public interface IMetaStoreClient extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close connection to meta store
|
String |
getDelegationToken(String owner,
String renewerKerberosPrincipalName)
This is expected to be a no-op when in local mode, which means that the implementation will
return null.
|
boolean |
isLocalMetaStore()
Returns true if the current client is using an in process metastore (local metastore).
|
void |
reconnect()
Tries to reconnect this MetaStoreClient to the MetaStore.
|
boolean isLocalMetaStore()
void reconnect()
throws MetaException
MetaExceptionvoid close()
close in interface AutoCloseableString getDelegationToken(String owner, String renewerKerberosPrincipalName) throws MetaException, org.apache.kyuubi.shaded.thrift.TException
owner - the intended owner for the tokenrenewerKerberosPrincipalName - MetaExceptionorg.apache.kyuubi.shaded.thrift.TExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.