HBASE-15815 Region mover script sometimes reports stuck region where only one server was involved
This commit is contained in:
parent
a6f8214e9b
commit
278c17d1eb
|
@ -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: " +
|
||||||
|
|
Loading…
Reference in New Issue