Package org.apache.hadoop.hbase.ipc
Class TestSecurityRpcSentBytesMetrics
java.lang.Object
org.apache.hadoop.hbase.ipc.TestSecurityRpcSentBytesMetrics
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
protected org.apache.hadoop.conf.Configuration
protected static String
protected static org.apache.hadoop.minikdc.MiniKdc
protected static final File
protected String
protected String
protected static String
protected org.apache.hadoop.conf.Configuration
protected static final HBaseTestingUtil
protected org.apache.hadoop.security.UserGroupInformation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
static void
setUp()
protected final void
void
protected static void
stopKDC()
static void
tearDown()
void
test()
This test is for HBASE-27924, before this JIRA, bytes sent byNettyHBaseSaslRpcServerHandler
is 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 byNettyHBaseSaslRpcServerHandler
is ignored byMetricsHBaseServer.sentBytes(long)
.- Throws:
Exception
-