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:05:24 UTC

svn commit: r1574827 - /hbase/branches/0.98/bin/region_mover.rb

Author: mbertozzi
Date: Thu Mar  6 10:05:24 2014
New Revision: 1574827

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

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

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