You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2014/03/06 11:04:59 UTC

svn commit: r1574826 - /hbase/branches/0.96/bin/region_mover.rb

Author: mbertozzi
Date: Thu Mar  6 10:04:59 2014
New Revision: 1574826

URL: http://svn.apache.org/r1574826
Log:
HBASE-10682 region_mover.rb throws "can't convert nil into String" for regions moved

Modified:
    hbase/branches/0.96/bin/region_mover.rb

Modified: hbase/branches/0.96/bin/region_mover.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/bin/region_mover.rb?rev=1574826&r1=1574825&r2=1574826&view=diff
==============================================================================
--- hbase/branches/0.96/bin/region_mover.rb (original)
+++ hbase/branches/0.96/bin/region_mover.rb Thu Mar  6 10:04:59 2014
@@ -423,7 +423,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