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 |
private static Class |
testRunnerClass |
protected static String |
USERNAME |
Constructor and Description |
---|
SecureTestCluster() |
Modifier and Type | Method and Description |
---|---|
protected static void |
setTestRunner(Class testRunnerClass)
SecureTestCluster extending classes can set their own
Class reference type
to be used as the target resource to be looked for on the class loader by
KeyStoreTestUtil , when deciding where to place ssl related config files. |
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
private static Class testRunnerClass
public SecureTestCluster()
protected static void setTestRunner(Class testRunnerClass)
Class
reference type
to be used as the target resource to be looked for on the class loader by
KeyStoreTestUtil
, when deciding where to place ssl related config files.testRunnerClass
- a Class
reference from the
SecureTestCluster
extender.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.