Class TestSaslFanOutOneBlockAsyncDFSOutput
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
org.apache.hadoop.hbase.io.asyncfs.TestSaslFanOutOneBlockAsyncDFSOutput
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>static final HBaseClassTestRuleprivate org.apache.hadoop.fs.Pathprivate static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroupprivate static org.apache.hadoop.hdfs.DistributedFileSystemprivate static Stringprivate static Stringprivate static org.apache.hadoop.minikdc.MiniKdcprivate static final Fileprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.io.asyncfs.monitor.StreamSlowMonitororg.junit.rules.TestNameprivate static Stringprivate static intprivate static Stringprivate org.apache.hadoop.fs.Pathprivate static StringFields inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
CLUSTER, CLUSTER_TEST_DIR, UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddata()private org.apache.hadoop.fs.Pathprivate org.apache.hadoop.fs.PathvoidsetUp()static voidprivate static voidsetUpKeyProvider(org.apache.hadoop.conf.Configuration conf) private static org.apache.hadoop.minikdc.MiniKdcsetupMiniKdc(File keytabFile) Sets upMiniKdcfor testing security.voidtearDown()static voidvoidtest()private voidtest(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 upMiniKdcfor testing security. UsesHBaseKerberosUtilsto 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
-