hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1195034 - in /hbase/trunk: CHANGES.txt src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
Date Sat, 29 Oct 2011 21:03:56 GMT
Author: stack
Date: Sat Oct 29 21:03:55 2011
New Revision: 1195034

URL: http://svn.apache.org/viewvc?rev=1195034&view=rev
Log:
HBASE-4701 TestSplitTransactionOnCluster fails on occasion when it tries to move a region

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1195034&r1=1195033&r2=1195034&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Sat Oct 29 21:03:55 2011
@@ -426,6 +426,8 @@ Release 0.92.0 - Unreleased
    HBASE-4687  regionserver may miss zk-heartbeats to master when replaying
                edits at region open (prakash via jgray)
    HBASE-4701  TestMasterObserver fails up on jenkins
+   HBASE-4700  TestSplitTransactionOnCluster fails on occasion when it tries
+               to move a region
 
   TESTS
    HBASE-4450  test for number of blocks read: to serve as baseline for expected

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java?rev=1195034&r1=1195033&r2=1195034&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
Sat Oct 29 21:03:55 2011
@@ -405,7 +405,8 @@ public class TestSplitTransactionOnClust
       HRegionServer hrs = getOtherRegionServer(cluster, metaRegionServer);
       LOG.info("Moving " + hri.getRegionNameAsString() + " to " +
         hrs.getServerName() + "; metaServerIndex=" + metaServerIndex);
-      admin.move(hri.getEncodedNameAsBytes(), hrs.getServerName().getVersionedBytes());
+      admin.move(hri.getEncodedNameAsBytes(),
+        Bytes.toBytes(hrs.getServerName().toString()));
     }
     // Wait till table region is up on the server that is NOT carrying .META..
     while (true) {



Mime
View raw message