Skip to content

Commit

Permalink
Show all tasks in 'detailed' status; continue to only show running ta…
Browse files Browse the repository at this point in the history
…sks in 'tasks' view
  • Loading branch information
apurtell committed Feb 16, 2022
1 parent 483872e commit 818b32c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hbase-shell/src/main/ruby/hbase/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 818b32c

Please sign in to comment.