You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/03/15 05:03:51 UTC

svn commit: r1577775 - /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java

Author: stack
Date: Sat Mar 15 04:03:50 2014
New Revision: 1577775

URL: http://svn.apache.org/r1577775
Log:
HBASE-10549 When there is a hole, LoadIncrementalHFiles will hang in an infinite loop -- ADDENDUM

Modified:
    hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java

Modified: hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java?rev=1577775&r1=1577774&r2=1577775&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java (original)
+++ hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java Sat Mar 15 04:03:50 2014
@@ -432,10 +432,10 @@ public class TestLoadIncrementalHFilesSp
   @Test
   public void testGroupOrSplitWhenRegionHoleExistsInMeta() throws Exception {
     String tableName = "testGroupOrSplitWhenRegionHoleExistsInMeta";
-    HTable table = new HTable(util.getConfiguration(), Bytes.toBytes(tableName));
     byte[][] SPLIT_KEYS = new byte[][] { Bytes.toBytes("row_00000100") };
 
     setupTableWithSplitkeys(tableName, 10, SPLIT_KEYS);
+    HTable table = new HTable(util.getConfiguration(), Bytes.toBytes(tableName));
     Path dir = buildBulkFiles(tableName, 2);
 
     final AtomicInteger countedLqis = new AtomicInteger();