public class AutoHBaseNimbus extends AbstractHadoopNimbusPluginAutoCreds
CONFIG_KEY_RESOURCES
Constructor and Description |
---|
AutoHBaseNimbus() |
Modifier and Type | Method and Description |
---|---|
void |
doPrepare(Map<String,Object> conf)
Prepare the plugin.
|
void |
doRenew(Map<String,String> credentials,
Map<String,Object> topologyConf,
String topologySubmitterUser) |
protected String |
getConfigKeyString()
The lookup key for the config key string.
|
String |
getCredentialKey(String configKey)
The lookup key for the config key string.
|
protected byte[] |
getHadoopCredentials(Map<String,Object> conf,
org.apache.hadoop.conf.Configuration hbaseConf,
String topologySubmitterUser) |
protected byte[] |
getHadoopCredentials(Map<String,Object> conf,
String topologyOwnerPrincipal) |
protected byte[] |
getHadoopCredentials(Map<String,Object> conf,
String configKey,
String topologyOwnerPrincipal) |
void |
shutdown() |
fillHadoopConfiguration, getConfigKeys, getCredentials, populateCredentials, prepare, renew
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
populateCredentials
public void doPrepare(Map<String,Object> conf)
AbstractHadoopNimbusPluginAutoCreds
doPrepare
in class AbstractHadoopNimbusPluginAutoCreds
conf
- the storm cluster conf set via storm.yamlprotected String getConfigKeyString()
AbstractHadoopNimbusPluginAutoCreds
getConfigKeyString
in class AbstractHadoopNimbusPluginAutoCreds
public void shutdown()
protected byte[] getHadoopCredentials(Map<String,Object> conf, String configKey, String topologyOwnerPrincipal)
getHadoopCredentials
in class AbstractHadoopNimbusPluginAutoCreds
protected byte[] getHadoopCredentials(Map<String,Object> conf, String topologyOwnerPrincipal)
getHadoopCredentials
in class AbstractHadoopNimbusPluginAutoCreds
protected byte[] getHadoopCredentials(Map<String,Object> conf, org.apache.hadoop.conf.Configuration hbaseConf, String topologySubmitterUser)
public void doRenew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologySubmitterUser)
doRenew
in class AbstractHadoopNimbusPluginAutoCreds
public String getCredentialKey(String configKey)
CredentialKeyProvider
Copyright © 2023 The Apache Software Foundation. All rights reserved.