Class TestSaslFanOutOneBlockAsyncDFSOutput
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
org.apache.hadoop.hbase.io.asyncfs.TestSaslFanOutOneBlockAsyncDFSOutput
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>
static final HBaseClassTestRule
private org.apache.hadoop.fs.Path
private static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup
private static org.apache.hadoop.hdfs.DistributedFileSystem
private static String
private static String
private static org.apache.hadoop.minikdc.MiniKdc
private static final File
private static final org.slf4j.Logger
private static org.apache.hadoop.hbase.io.asyncfs.monitor.StreamSlowMonitor
org.junit.rules.TestName
private static String
private static int
private static String
private org.apache.hadoop.fs.Path
private static String
Fields inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
CLUSTER, CLUSTER_TEST_DIR, UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
data()
private org.apache.hadoop.fs.Path
private org.apache.hadoop.fs.Path
void
setUp()
static void
private static void
setUpKeyProvider
(org.apache.hadoop.conf.Configuration conf) private static org.apache.hadoop.minikdc.MiniKdc
setupMiniKdc
(File keytabFile) Sets upMiniKdc
for testing security.void
tearDown()
static void
void
test()
private void
test
(org.apache.hadoop.fs.Path file) Methods inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
setupClusterTestDir, shutdownMiniDFSCluster, startMiniDFSCluster
-
Field Details
-
LOG
-
CLASS_RULE
-
FS
-
EVENT_LOOP_GROUP
-
CHANNEL_CLASS
-
READ_TIMEOUT_MS
-
KEYTAB_FILE
-
KDC
-
HOST
-
USERNAME
-
PRINCIPAL
-
HTTP_PRINCIPAL
-
TEST_KEY_NAME
-
MONITOR
-
name
-
protection
-
encryptionAlgorithm
-
cipherSuite
-
testDirOnTestFs
-
entryptionTestDirOnTestFs
-
-
Constructor Details
-
TestSaslFanOutOneBlockAsyncDFSOutput
public TestSaslFanOutOneBlockAsyncDFSOutput()
-
-
Method Details
-
data
-
setUpKeyProvider
- Throws:
Exception
-
setupMiniKdc
Sets upMiniKdc
for testing security. UsesHBaseKerberosUtils
to set the given keytab file asHBaseKerberosUtils.KRB_KEYTAB_FILE
.- Throws:
Exception
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
createEncryptionZone
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
getTestFile
-
getEncryptionTestFile
-
test
private void test(org.apache.hadoop.fs.Path file) throws IOException, InterruptedException, ExecutionException -
test
-