public class AutoHive extends AbstractHadoopAutoCreds
Auto credentials plugin for Hive implementation. This class provides a way to automatically push credentials to a topology and to retrieve them in the worker.
| Constructor and Description | 
|---|
AutoHive()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doPrepare(Map<String,Object> conf)
Prepare the plugin. 
 | 
protected String | 
getConfigKeyString()
The lookup key for the config key string. 
 | 
String | 
getCredentialKey(String configKey)
The lookup key for the config key string. 
 | 
getCredentials, populateCredentials, populateSubject, prepare, updateSubjectpublic void doPrepare(Map<String,Object> conf)
AbstractHadoopAutoCredsPrepare the plugin.
doPrepare in class AbstractHadoopAutoCredsconf - the topology confprotected String getConfigKeyString()
AbstractHadoopAutoCredsThe lookup key for the config key string.
getConfigKeyString in class AbstractHadoopAutoCredspublic String getCredentialKey(String configKey)
CredentialKeyProviderThe lookup key for the config key string.
Copyright © 2022 The Apache Software Foundation. All rights reserved.