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
This commit is contained in:
Jonathan Hsieh 2013-12-17 13:05:10 +00:00
parent 215899873f
commit 92410d57d8
1 changed files with 1 additions and 1 deletions

View File

@ -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)