guluo created HBASE-29500:
-----------------------------
Summary: hbase shell: status 'tasks' command fails with undefined
method getServersSize
Key: HBASE-29500
URL: https://issues.apache.org/jira/browse/HBASE-29500
Project: HBase
Issue Type: Bug
Components: shell
Reporter: guluo
Assignee: guluo
ERROR: undefined method `getServersSize' for
#<Java::OrgApacheHadoopHbase::ClusterMetricsBuilder::ClusterMetricsImpl:0x7c070e78>
Did you mean? getServersName
The command to get live servers size should be:
cluster_metrics.getLiveServerMetrics.size instead of
cluster_metrics.getServersSize
The command to get live servers should be
cluster_metrics.getLiveServerMetrics.keySet instead of
cluster_metrics.getServers
--
This message was sent by Atlassian Jira
(v8.20.10#820010)