hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-13633 draining_servers.rb broken with NoMethodError: undefined method 'getServerInfo' (Samir Ahmic)
Date Wed, 06 May 2015 16:27:48 GMT
Repository: hbase
Updated Branches:
  refs/heads/master a93ba89b5 -> 67c6352e8


HBASE-13633 draining_servers.rb broken with NoMethodError: undefined method 'getServerInfo'
(Samir Ahmic)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/67c6352e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/67c6352e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/67c6352e

Branch: refs/heads/master
Commit: 67c6352e8afb09c2cfa13f96b821c8f4624620a5
Parents: a93ba89
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed May 6 09:28:23 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed May 6 09:28:23 2015 -0700

----------------------------------------------------------------------
 bin/draining_servers.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/67c6352e/bin/draining_servers.rb
----------------------------------------------------------------------
diff --git a/bin/draining_servers.rb b/bin/draining_servers.rb
index 5bcb5b6..45c9694 100644
--- a/bin/draining_servers.rb
+++ b/bin/draining_servers.rb
@@ -50,7 +50,7 @@ optparse.parse!
 # Return array of servernames where servername is hostname+port+startcode
 # comma-delimited
 def getServers(admin)
-  serverInfos = admin.getClusterStatus().getServerInfo()
+  serverInfos = admin.getClusterStatus().getServers()
   servers = []
   for server in serverInfos
     servers << server.getServerName()


Mime
View raw message