public class HBaseSecurityUtil extends Object
This class provides util methods for storm-hbase connector communicating with secured HBase.
Modifier and Type | Field and Description |
---|---|
static String |
HBASE_CREDENTIALS_CONFIG_KEYS |
static String |
STORM_KEYTAB_FILE_KEY |
static String |
STORM_USER_NAME_KEY |
Constructor and Description |
---|
HBaseSecurityUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.security.UserProvider |
login(Map conf,
org.apache.hadoop.conf.Configuration hbaseConfig) |
public static final String STORM_KEYTAB_FILE_KEY
public static final String STORM_USER_NAME_KEY
public static final String HBASE_CREDENTIALS_CONFIG_KEYS
public static org.apache.hadoop.hbase.security.UserProvider login(Map conf, org.apache.hadoop.conf.Configuration hbaseConfig) throws IOException
IOException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.