public class SecureTestCluster extends Object
| Modifier and Type | Field and Description | 
|---|---|
private static org.apache.hadoop.hbase.LocalHBaseCluster | 
CLUSTER  | 
private static String | 
HOST  | 
private static String | 
HTTP_PRINCIPAL  | 
private static org.apache.hadoop.minikdc.MiniKdc | 
KDC  | 
private static File | 
KEYTAB_FILE  | 
private static String | 
PRINCIPAL  | 
protected static HBaseTestingUtility | 
TEST_UTIL  | 
protected static String | 
USERNAME  | 
| Constructor and Description | 
|---|
SecureTestCluster()  | 
| Modifier and Type | Method and Description | 
|---|---|
private static void | 
setHdfsSecuredConfiguration(org.apache.hadoop.conf.Configuration conf)
Setup the security configuration for hdfs. 
 | 
static void | 
setUp()
Setup and start kerberos, hbase 
 | 
static void | 
tearDown()  | 
protected static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.LocalHBaseCluster CLUSTER
private static final File KEYTAB_FILE
private static org.apache.hadoop.minikdc.MiniKdc KDC
private static String HTTP_PRINCIPAL
public SecureTestCluster()
private static void setHdfsSecuredConfiguration(org.apache.hadoop.conf.Configuration conf) throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.