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.Configurable
getConf
in class org.apache.hadoop.conf.Configured
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class org.apache.hadoop.conf.Configured
public static void provisionCluster() throws Exception
Exception
public static void releaseCluster() throws Exception
Exception
protected void doLoadIncrementalHFiles(org.apache.hadoop.fs.Path hfiles, org.apache.hadoop.hbase.TableName tableName) throws Exception
simple_tsv
matches
simple_expected
.Exception
protected static void validateDeletedPartitionsFile(org.apache.hadoop.conf.Configuration conf) throws IOException
TotalOrderPartitioner
partitions file.IOException
public void testGenerateAndLoad() throws Exception
Exception
void generateAndLoad(org.apache.hadoop.hbase.TableName table) throws Exception
Exception
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.