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 HBaseTestingUtil |
htu |
org.junit.rules.TestName |
name |
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 HBaseTestingUtil 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
Exception
public void testMovingStagedFile() throws Exception
Exception
public void testMovingStagedFileWithCustomStageDir() throws Exception
Exception
public void testCopiedStagedFile() throws Exception
Exception
public void testDeletedStagedFile() throws Exception
Exception
private String createHFileForFamilies(byte[] family) throws IOException
IOException
private static String generateUniqueName(String suffix)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.