hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1188444 - in /hbase/trunk: CHANGES.txt src/main/ruby/hbase/admin.rb
Date Mon, 24 Oct 2011 23:22:20 GMT
Author: apurtell
Date: Mon Oct 24 23:22:20 2011
New Revision: 1188444

URL: http://svn.apache.org/viewvc?rev=1188444&view=rev
Log:
HBASE-3512  Shell support for listing currently loaded coprocessors

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/ruby/hbase/admin.rb

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1188444&r1=1188443&r2=1188444&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Mon Oct 24 23:22:20 2011
@@ -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

Modified: hbase/trunk/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/ruby/hbase/admin.rb?rev=1188444&r1=1188443&r2=1188444&view=diff
==============================================================================
--- hbase/trunk/src/main/ruby/hbase/admin.rb (original)
+++ hbase/trunk/src/main/ruby/hbase/admin.rb Mon Oct 24 23:22:20 2011
@@ -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" % \



Mime
View raw message