public class UgiMetaStoreClientFactory extends Object
client
that wraps calls in a PrivilegedExceptionAction
if the
UserGroupInformation
is specified. Invokes directly otherwise.Constructor and Description |
---|
UgiMetaStoreClientFactory(String metaStoreUri,
HiveConf conf,
org.apache.hadoop.security.UserGroupInformation authenticatedUser,
String user,
boolean secureMode) |
Modifier and Type | Method and Description |
---|---|
IMetaStoreClient |
newInstance() |
IMetaStoreClient |
newInstance(IMetaStoreClient delegate) |
String |
toString() |
public IMetaStoreClient newInstance() throws MetaException
MetaException
public IMetaStoreClient newInstance(IMetaStoreClient delegate) throws MetaException
MetaException
Copyright © 2021 The Apache Software Foundation. All rights reserved.