public class TestSecureBulkloadListener extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hdfs.MiniDFSCluster |
cluster |
private org.apache.hadoop.conf.Configuration |
conf |
private static String |
CUSTOM_STAGING_DIR |
private org.apache.hadoop.hdfs.DistributedFileSystem |
dfs |
private static byte[] |
FAMILY |
private static String |
host1 |
private static String |
host2 |
private static String |
host3 |
private HBaseTestingUtility |
htu |
org.junit.rules.TestName |
name |
private Random |
random |
private byte[] |
randomBytes |
private static String |
STAGING_DIR |
static org.junit.rules.TemporaryFolder |
testFolder |
| Constructor and Description |
|---|
TestSecureBulkloadListener() |
| Modifier and Type | Method and Description |
|---|---|
private String |
createHFileForFamilies(byte[] family) |
private static String |
generateUniqueName(String suffix) |
void |
setUp() |
void |
tearDownAfterClass() |
void |
testCopiedStagedFile() |
void |
testDeletedStagedFile() |
void |
testMovingStagedFile() |
void |
testMovingStagedFileWithCustomStageDir() |
public static final HBaseClassTestRule CLASS_RULE
public static org.junit.rules.TemporaryFolder testFolder
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hdfs.MiniDFSCluster cluster
private HBaseTestingUtility htu
private org.apache.hadoop.hdfs.DistributedFileSystem dfs
private final byte[] randomBytes
private static final String host1
private static final String host2
private static final String host3
private static byte[] FAMILY
private static final String STAGING_DIR
private static final String CUSTOM_STAGING_DIR
public org.junit.rules.TestName name
public TestSecureBulkloadListener()
public void tearDownAfterClass() throws Exception
Exceptionpublic void testMovingStagedFile() throws Exception
Exceptionpublic void testMovingStagedFileWithCustomStageDir() throws Exception
Exceptionpublic void testCopiedStagedFile() throws Exception
Exceptionpublic void testDeletedStagedFile() throws Exception
Exceptionprivate String createHFileForFamilies(byte[] family) throws IOException
IOExceptionprivate static String generateUniqueName(String suffix)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.