HBASE-3512 Shell support for listing currently loaded coprocessors

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1188444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2011-10-24 23:22:20 +00:00
parent ed76ba8de3
commit 998539d05d
2 changed files with 6 additions and 0 deletions

View File

@ -397,6 +397,8 @@ Release 0.92.0 - Unreleased
HBASE-4578 NPE when altering a table that has moving regions (gaojinchao)
HBASE-4070 Improve region server metrics to report loaded coprocessors to
master (Eugene Koontz via apurtell)
HBASE-3512 Shell support for listing currently loaded coprocessors (Eugene
Koontz via apurtell)
TESTS
HBASE-4450 test for number of blocks read: to serve as baseline for expected

View File

@ -386,6 +386,10 @@ module Hbase
for k, v in status.getRegionsInTransition()
puts(" %s" % [v])
end
master_coprocs = java.util.Arrays.toString(@admin.getMasterCoprocessors())
if master_coprocs != nil
puts("master coprocessors: %s" % master_coprocs)
end
puts("%d live servers" % [ status.getServersSize() ])
for server in status.getServers()
puts(" %s:%d %d" % \