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 2015/05/20 01:13:57 UTC
[02/50] [abbrv] hbase git commit: HBASE-13633 draining_servers.rb
broken with NoMethodError: undefined method 'getServerInfo' (Samir Ahmic)
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/hbase-11339
Commit: 67c6352e8afb09c2cfa13f96b821c8f4624620a5
Parents: a93ba89
Author: tedyu <yu...@gmail.com>
Authored: Wed May 6 09:28:23 2015 -0700
Committer: tedyu <yu...@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()