Index: hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java =================================================================== --- hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (revision 1431556) +++ hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (working copy) @@ -1260,6 +1260,18 @@ Bytes.toBytes("xxx"), Bytes.toBytes("yyy") }; + public static final byte[][] KEYS_FOR_HBA_CREATE_TABLE = { + Bytes.toBytes("bbb"), + Bytes.toBytes("ccc"), Bytes.toBytes("ddd"), Bytes.toBytes("eee"), + Bytes.toBytes("fff"), Bytes.toBytes("ggg"), Bytes.toBytes("hhh"), + Bytes.toBytes("iii"), Bytes.toBytes("jjj"), Bytes.toBytes("kkk"), + Bytes.toBytes("lll"), Bytes.toBytes("mmm"), Bytes.toBytes("nnn"), + Bytes.toBytes("ooo"), Bytes.toBytes("ppp"), Bytes.toBytes("qqq"), + Bytes.toBytes("rrr"), Bytes.toBytes("sss"), Bytes.toBytes("ttt"), + Bytes.toBytes("uuu"), Bytes.toBytes("vvv"), Bytes.toBytes("www"), + Bytes.toBytes("xxx"), Bytes.toBytes("yyy"), Bytes.toBytes("zzz") + }; + /** * Creates many regions names "aaa" to "zzz". * @param c Configuration to use. Index: hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java =================================================================== --- hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java (revision 1431556) +++ hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java (working copy) @@ -142,7 +141,7 @@ table.addFamily(fam); HBaseAdmin admin1 = new HBaseAdmin(conf1); HBaseAdmin admin2 = new HBaseAdmin(conf2); - admin1.createTable(table); + admin1.createTable(table, HBaseTestingUtility.KEYS_FOR_HBA_CREATE_TABLE); admin2.createTable(table); htable1 = new HTable(conf1, tableName); htable1.setWriteBufferSize(1024); @@ -716,8 +715,6 @@ */ @Test(timeout=300000) public void queueFailover() throws Exception { - utility1.createMultiRegions(htable1, famName); - // killing the RS with .META. can result into failed puts until we solve // IO fencing int rsToKill1 =