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:
parent
215899873f
commit
92410d57d8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue