@Test
  public void testBulkLoadNotSupported() throws Exception {
    TableName tableName1 = TableName.valueOf(name.getMethodName() + "1");
    TableName tableName2 = TableName.valueOf(name.getMethodName() + "2");
    try (Table t1 = UTIL1.createTable(tableName1, FAMILY_A);
      Table t2 = UTIL2.createTable(tableName2, FAMILY_A)) {
      String[] args = ArrayUtils.addAll(getPeerClusterOptions(),
        "--new.name=" + tableName2.getNameAsString(), "--bulkload", tableName1.getNameAsString());
      assertFalse(runCopy(UTIL1.getConfiguration(), args));
    } finally {
      UTIL1.deleteTable(tableName1);
      UTIL2.deleteTable(tableName2);
    }
  }
Test copy of table from sourceTable to targetTable all rows from family a
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/CopyTableToPeerClusterTestBase.java