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 2013/08/27 18:46:35 UTC

svn commit: r1517874 - /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java

Author: stack
Date: Tue Aug 27 16:46:35 2013
New Revision: 1517874

URL: http://svn.apache.org/r1517874
Log:
HBASE-9350 In ChaosMonkey, MoveRegionsOfTableAction throws UnknownRegionException

Modified:
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java?rev=1517874&r1=1517873&r2=1517874&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java (original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java Tue Aug 27 16:46:35 2013
@@ -59,7 +59,7 @@ public class MoveRegionsOfTableAction ex
         String destServerName =
           servers[RandomUtils.nextInt(servers.length)].getServerName();
         LOG.debug("Moving " + regionInfo.getRegionNameAsString() + " to " + destServerName);
-        admin.move(regionInfo.getRegionName(), Bytes.toBytes(destServerName));
+        admin.move(regionInfo.getEncodedNameAsBytes(), Bytes.toBytes(destServerName));
       } catch (Exception e) {
         LOG.debug("Error moving region", e);
       }