From 92410d57d82180d06723066fb35409251f728627 Mon Sep 17 00:00:00 2001 From: Jonathan Hsieh Date: Tue, 17 Dec 2013 13:05:10 +0000 Subject: [PATCH] HBASE-10186 region_mover.rb broken because ServerName constructor is changed to private (Samir Ahmic) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1551532 13f79535-47bb-0310-9956-ffa450edef68 --- bin/region_mover.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/region_mover.rb b/bin/region_mover.rb index cc57456f613..23e57ac7aa9 100644 --- a/bin/region_mover.rb +++ b/bin/region_mover.rb @@ -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)