HBASE-9350 In ChaosMonkey, MoveRegionsOfTableAction throws UnknownRegionException

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1517874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-08-27 16:46:35 +00:00
parent 54d0f9f800
commit 7cde56cd37
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class MoveRegionsOfTableAction extends Action {
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);
}