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, updateSubject
public void doPrepare(Map<String,Object> conf)
AbstractHadoopAutoCreds
Prepare the plugin.
doPrepare
in class AbstractHadoopAutoCreds
conf
- the topology confprotected String getConfigKeyString()
AbstractHadoopAutoCreds
The lookup key for the config key string.
getConfigKeyString
in class AbstractHadoopAutoCreds
public String getCredentialKey(String configKey)
CredentialKeyProvider
The lookup key for the config key string.
Copyright © 2020 The Apache Software Foundation. All rights reserved.