tomscut commented on code in PR #4431:
URL: https://github.com/apache/hbase/pull/4431#discussion_r878785441


##########
hbase-shell/src/main/ruby/hbase/admin.rb:
##########
@@ -1043,6 +1043,7 @@ def status(format, type)
       else
         puts "1 active master, #{cluster_metrics.getBackupMasterNames.size} 
backup masters,
               #{cluster_metrics.getLiveServerMetrics.size} servers,
+              #{@admin.listDecommissionedRegionServers.size} decommissioned,

Review Comment:
   Thanks @Apache9 for your review.
   
    Now, we do not have `decommissionedRegionServers` in cluster metrics. But 
we have metrics `numDrainingRegionServers`  and `drainingRegionServers`. 
   
   There is a method `listDecommissionedRegionServers` in `Admin`,  so called 
directly here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to