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 |
static String |
HBASE_CREDENTIALS_CONFIG_KEYS |
static String |
HBASE_KEYTAB_FILE_KEY |
static String |
HBASE_PRINCIPAL_KEY |
static String |
STORM_KEYTAB_FILE_KEY |
static String |
STORM_USER_NAME_KEY |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.security.UserProvider |
login(Map<String,Object> 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 final String HBASE_CREDENTIALS
public static final String HBASE_KEYTAB_FILE_KEY
public static final String HBASE_PRINCIPAL_KEY
public static org.apache.hadoop.hbase.security.UserProvider login(Map<String,Object> conf, org.apache.hadoop.conf.Configuration hbaseConfig) throws IOException
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.