HBASE-10682 region_mover.rb throws "can't convert nil into String" for regions moved
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1574828 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3ce062eb89
commit
52b775db97
|
@ -427,7 +427,7 @@ def loadRegions(options, hostname)
|
||||||
end
|
end
|
||||||
pool.launch(r,currentServer,count) do |_r,_currentServer,_count|
|
pool.launch(r,currentServer,count) do |_r,_currentServer,_count|
|
||||||
$LOG.info("Moving region " + _r.getRegionNameAsString() + " (" + (_count + 1).to_s +
|
$LOG.info("Moving region " + _r.getRegionNameAsString() + " (" + (_count + 1).to_s +
|
||||||
" of " + regions.length.to_s + ") from " + _currentServer + " to server=" +
|
" of " + regions.length.to_s + ") from " + _currentServer.to_s + " to server=" +
|
||||||
servername);
|
servername);
|
||||||
move(admin, _r, servername, _currentServer)
|
move(admin, _r, servername, _currentServer)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue