Package org.apache.hadoop.hbase.security
Class TestUsersOperationsWithSecureHadoop
java.lang.Object
org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static String
private static String
private static org.apache.hadoop.minikdc.MiniKdc
private static final File
private static String
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
KEYTAB_FILE
-
KDC
-
HOST
-
PRINCIPAL
-
CLIENT_NAME
-
-
Constructor Details
-
TestUsersOperationsWithSecureHadoop
public TestUsersOperationsWithSecureHadoop()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
testUserLoginInSecureHadoop
test login with security enabled configuration To run this test, we must specify the following system properties:hbase.regionserver.kerberos.principal
hbase.regionserver.keytab.file
- Throws:
Exception
-
testLoginWithUserKeytabAndPrincipal
- Throws:
Exception
-
testAuthUtilLogin
- Throws:
Exception
-