You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2013/12/17 14:05:12 UTC

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

Author: jmhsieh
Date: Tue Dec 17 13:05:12 2013
New Revision: 1551533

URL: http://svn.apache.org/r1551533
Log:
HBASE-10186 region_mover.rb broken because ServerName constructor is changed to private (Samir Ahmic)

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=1551533&r1=1551532&r2=1551533&view=diff
==============================================================================
--- hbase/branches/0.98/bin/region_mover.rb (original)
+++ hbase/branches/0.98/bin/region_mover.rb Tue Dec 17 13:05:12 2013
@@ -270,7 +270,7 @@ end
 # Now get list of regions on targetServer
 def getRegions(config, servername)
   connection = HConnectionManager::getConnection(config);
-  return ProtobufUtil::getOnlineRegions(connection.getAdmin(ServerName.new(servername)));
+  return ProtobufUtil::getOnlineRegions(connection.getAdmin(ServerName.valueOf(servername)));
 end
 
 def deleteFile(filename)