You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "guluo (Jira)" <ji...@apache.org> on 2025/08/06 11:05:00 UTC

[jira] [Created] (HBASE-29500) hbase shell: status 'tasks' command fails with undefined method getServersSize

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)