hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1198013 - in /hbase/trunk: CHANGES.txt src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java
Date Sat, 05 Nov 2011 18:53:49 GMT
Author: stack
Date: Sat Nov  5 18:53:49 2011
New Revision: 1198013

URL: http://svn.apache.org/viewvc?rev=1198013&view=rev
Log:
HBASE-4751 Make TestAdmin#testEnableTableRoundRobinAssignment friendly to concurrent tests

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1198013&r1=1198012&r2=1198013&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Sat Nov  5 18:53:49 2011
@@ -37,6 +37,8 @@ Release 0.93.0 - Unreleased
    HBASE-4488  Store could miss rows during flush (Lars H via jgray)
    HBASE-4673  NPE in HFileReaderV2.close during major compaction when
                hfile.block.cache.size is set to 0 (Lars H)
+   HBASE-4751  Make TestAdmin#testEnableTableRoundRobinAssignment friendly to
+               concurrent tests (Jieshan Bean)
  
   TESTS
    HBASE-4534  A new unit test for lazy seek and StoreScanner in general

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java?rev=1198013&r1=1198012&r2=1198013&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java Sat Nov  5 18:53:49
2011
@@ -601,7 +601,8 @@ public class TestAdmin {
     admin.enableTable(tableName);
 
     // Check the assignment.
-    HTable metaTable = new HTable(HConstants.META_TABLE_NAME);
+    HTable metaTable = new HTable(TEST_UTIL.getConfiguration(),
+        HConstants.META_TABLE_NAME);
     List<HRegionInfo> regionInfos = admin.getTableRegions(tableName);
     Map<String, Integer> serverMap = new HashMap<String, Integer>();
     for (int i = 0, j = regionInfos.size(); i < j; i++) {



Mime
View raw message