HBASE-15815 Region mover script sometimes reports stuck region where only one server was involved

This commit is contained in:
tedyu 2016-05-13 07:45:50 -07:00
parent a6f8214e9b
commit 278c17d1eb
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ def move(admin, r, newServer, original)
sleep 0.1 sleep 0.1
end end
end end
raise RuntimeError, "Region stuck on #{original}, newserver=#{newServer}" if same raise RuntimeError, "Region " + r.getRegionNameAsString() + " stuck on #{original}, newserver=#{newServer}" if same
# Assert can Scan from new location. # Assert can Scan from new location.
isSuccessfulScan(admin, r) isSuccessfulScan(admin, r)
$LOG.info("Moved region " + r.getRegionNameAsString() + " cost: " + $LOG.info("Moved region " + r.getRegionNameAsString() + " cost: " +