Class CopyTableTestBase

java.lang.Object
org.apache.hadoop.hbase.mapreduce.CopyTableTestBase
Direct Known Subclasses:
CopyTableToPeerClusterTestBase, TestCopyTable

public abstract class CopyTableTestBase extends Object
Base class for testing CopyTable MR tool.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final byte[]
     
    protected static final String
     
    protected static final byte[]
     
    protected static final String
     
    org.junit.rules.TestName
     
    protected static final byte[]
     
    protected static final byte[]
     
    protected static final byte[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract org.apache.hadoop.hbase.client.Table
    createSourceTable(org.apache.hadoop.hbase.client.TableDescriptor desc)
     
    protected abstract org.apache.hadoop.hbase.client.Table
    createTargetTable(org.apache.hadoop.hbase.client.TableDescriptor desc)
     
    protected final void
    doCopyTableTest(org.apache.hadoop.conf.Configuration conf, boolean bulkload)
     
    protected final void
    doCopyTableTestWithMob(org.apache.hadoop.conf.Configuration conf, boolean bulkload)
     
    protected abstract void
    dropSourceTable(org.apache.hadoop.hbase.TableName tableName)
     
    protected abstract void
    dropTargetTable(org.apache.hadoop.hbase.TableName tableName)
     
    protected abstract String[]
     
    protected final void
    loadData(org.apache.hadoop.hbase.client.Table t, byte[] family, byte[] column)
     
    protected final boolean
    runCopy(org.apache.hadoop.conf.Configuration conf, String[] args)
     
    protected final void
    testRenameFamily(org.apache.hadoop.conf.Configuration conf)
     
    protected final void
    testStartStopRow(org.apache.hadoop.conf.Configuration conf)
     
    protected final void
    verifyRows(org.apache.hadoop.hbase.client.Table t, byte[] family, byte[] column)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait