public class TestOverwriteFileUnderConstruction extends AsyncFSTestBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.fs.FileSystem |
FS |
org.junit.rules.TestName |
name |
CLUSTER, CLUSTER_TEST_DIR, UTIL
Constructor and Description |
---|
TestOverwriteFileUnderConstruction() |
Modifier and Type | Method and Description |
---|---|
static void |
setUp() |
static void |
tearDown() |
void |
testNotOverwrite() |
void |
testOverwrite() |
setupClusterTestDir, shutdownMiniDFSCluster, startMiniDFSCluster
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.fs.FileSystem FS
public final org.junit.rules.TestName name
public TestOverwriteFileUnderConstruction()
public void testNotOverwrite() throws IOException
IOException
public void testOverwrite() throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.