[ 
https://issues.apache.org/jira/browse/HBASE-29500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

guluo resolved HBASE-29500.
---------------------------
    Fix Version/s: 3.0.0-beta-2
       Resolution: Fixed

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0-beta-2
>
>
> 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)

Reply via email to