public class IntegrationTestImportTsv extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static String |
NAME |
protected static Set<org.apache.hadoop.hbase.KeyValue> |
simple_expected |
protected static String |
simple_tsv |
protected static IntegrationTestingUtility |
util |
| Constructor and Description |
|---|
IntegrationTestImportTsv() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doLoadIncrementalHFiles(org.apache.hadoop.fs.Path hfiles,
org.apache.hadoop.hbase.TableName tableName)
Verify the data described by
simple_tsv matches
simple_expected. |
(package private) void |
generateAndLoad(org.apache.hadoop.hbase.TableName table) |
org.apache.hadoop.conf.Configuration |
getConf() |
static void |
main(String[] args) |
static void |
provisionCluster() |
static void |
releaseCluster() |
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
void |
testGenerateAndLoad() |
protected static void |
validateDeletedPartitionsFile(org.apache.hadoop.conf.Configuration conf)
Confirm the absence of the
TotalOrderPartitioner partitions file. |
private static final org.slf4j.Logger LOG
protected static final String simple_tsv
public org.junit.rules.TestName name
protected static final Set<org.apache.hadoop.hbase.KeyValue> simple_expected
protected static IntegrationTestingUtility util
public IntegrationTestImportTsv()
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurablegetConf in class org.apache.hadoop.conf.Configuredpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.conf.Configuredpublic static void provisionCluster() throws Exception
Exceptionpublic static void releaseCluster() throws Exception
Exceptionprotected void doLoadIncrementalHFiles(org.apache.hadoop.fs.Path hfiles, org.apache.hadoop.hbase.TableName tableName) throws Exception
simple_tsv matches
simple_expected.Exceptionprotected static void validateDeletedPartitionsFile(org.apache.hadoop.conf.Configuration conf) throws IOException
TotalOrderPartitioner partitions file.IOExceptionpublic void testGenerateAndLoad() throws Exception
Exceptionvoid generateAndLoad(org.apache.hadoop.hbase.TableName table) throws Exception
Exceptionpublic int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.