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:51 UTC
svn commit: r1517875 -
/hbase/branches/0.95/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
Author: stack
Date: Tue Aug 27 16:46:51 2013
New Revision: 1517875
URL: http://svn.apache.org/r1517875
Log:
HBASE-9350 In ChaosMonkey, MoveRegionsOfTableAction throws UnknownRegionException
Modified:
hbase/branches/0.95/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
Modified: hbase/branches/0.95/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java?rev=1517875&r1=1517874&r2=1517875&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java (original)
+++ hbase/branches/0.95/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java Tue Aug 27 16:46:51 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);
}