From 818b32c3f559ff2633e6ff6befc533802e47f3f1 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Thu, 10 Feb 2022 10:25:27 -0800 Subject: [PATCH] Show all tasks in 'detailed' status; continue to only show running tasks in 'tasks' view --- hbase-shell/src/main/ruby/hbase/admin.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index b96af1de7cfd..6cf674bf82a9 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -927,7 +927,6 @@ def status(format, type) unless master.nil? puts(format('active master: %s:%d %d', master.getHostname, master.getPort, master.getStartcode)) for task in cluster_metrics.getMasterTasks - next unless task.getState.name == 'RUNNING' puts(format(' %s', task.toString)) end end @@ -948,7 +947,6 @@ def status(format, type) puts(format(' %s', region.toString)) end for task in cluster_metrics.getLoad(server).getTasks - next unless task.getState.name == 'RUNNING' puts(format(' %s', task.toString)) end end