HBASE-4701 TestSplitTransactionOnCluster fails on occasion when it tries to move a region

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-10-29 21:03:55 +00:00
parent f686732973
commit f4109e3a28
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -405,7 +405,8 @@ public class TestSplitTransactionOnCluster {
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) {