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:
mbertozzi 2014-03-06 10:05:40 +00:00
parent 3ce062eb89
commit 52b775db97
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ def loadRegions(options, hostname)
end
pool.launch(r,currentServer,count) do |_r,_currentServer,_count|
$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);
move(admin, _r, servername, _currentServer)
end