Class TestOverwriteFileUnderConstruction
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
org.apache.hadoop.hbase.io.asyncfs.TestOverwriteFileUnderConstruction
Used to confirm that it is OK to overwrite a file which is being written currently.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.fs.FileSystem
final org.junit.rules.TestName
Fields inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
CLUSTER, CLUSTER_TEST_DIR, UTIL
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.io.asyncfs.AsyncFSTestBase
setupClusterTestDir, shutdownMiniDFSCluster, startMiniDFSCluster
-
Field Details
-
CLASS_RULE
-
FS
-
name
-
-
Constructor Details
-
TestOverwriteFileUnderConstruction
public TestOverwriteFileUnderConstruction()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testNotOverwrite
- Throws:
IOException
-
testOverwrite
- Throws:
IOException
-