Package org.apache.hadoop.hbase.ipc
Class TestSecurityRpcSentBytesMetrics
java.lang.Object
org.apache.hadoop.hbase.ipc.TestSecurityRpcSentBytesMetrics
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprotected org.apache.hadoop.conf.Configurationprotected static Stringprotected static org.apache.hadoop.minikdc.MiniKdcprotected static final Fileprotected Stringprotected Stringprotected static Stringprotected org.apache.hadoop.conf.Configurationprotected static final HBaseTestingUtilprotected org.apache.hadoop.security.UserGroupInformation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidstatic voidsetUp()protected final voidvoidprotected static voidstopKDC()static voidtearDown()voidtest()This test is for HBASE-27924, before this JIRA, bytes sent byNettyHBaseSaslRpcServerHandleris ignored byMetricsHBaseServer.sentBytes(long).
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
KEYTAB_FILE
-
KDC
-
HOST
-
PRINCIPAL
-
krbKeytab
-
krbPrincipal
-
ugi
-
clientConf
-
serverConf
-
-
Constructor Details
-
TestSecurityRpcSentBytesMetrics
public TestSecurityRpcSentBytesMetrics()
-
-
Method Details
-
initKDCAndConf
- Throws:
Exception
-
stopKDC
- Throws:
InterruptedException
-
setUpPrincipalAndConf
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setUpTest
- Throws:
Exception
-
test
This test is for HBASE-27924, before this JIRA, bytes sent byNettyHBaseSaslRpcServerHandleris ignored byMetricsHBaseServer.sentBytes(long).- Throws:
Exception
-