Class AsyncFSTestBase
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
- Direct Known Subclasses:
TestFanOutOneBlockAsyncDFSOutput
,TestFanOutOneBlockAsyncDFSOutputHang
,TestOverwriteFileUnderConstruction
,TestSaslFanOutOneBlockAsyncDFSOutput
-
Field Summary
Modifier and TypeFieldDescriptionprotected static org.apache.hadoop.hdfs.MiniDFSCluster
protected static File
private static final org.slf4j.Logger
protected static final HBaseCommonTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static String
createDirAndSetProperty
(String property) private static String
createDirAndSetProperty
(String relPath, String property) private static void
private static boolean
protected static void
Creates a directory for the cluster, under the test dataprotected static void
protected static void
startMiniDFSCluster
(int servers)
-
Field Details
-
LOG
-
UTIL
-
CLUSTER_TEST_DIR
-
CLUSTER
-
-
Constructor Details
-
AsyncFSTestBase
public AsyncFSTestBase()
-
-
Method Details
-
deleteOnExit
-
setupClusterTestDir
Creates a directory for the cluster, under the test data -
createDirAndSetProperty
-
createDirAndSetProperty
-
createDirsAndSetProperties
- Throws:
IOException
-
startMiniDFSCluster
- Throws:
IOException
-
shutdownMiniDFSCluster
-