hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From techbuddy <techbuddy...@gmail.com>
Subject Co-processor seems to be failing to load
Date Thu, 04 Oct 2012 06:25:19 GMT
Was trying to play around with Co-processors by trying to launch the
following co-processor of type RegionObserver in a standalone HBase
instance, deployed in distributed mode (meaning ZK, Region Server and Master
running as three separate JVM instances on the same host) 


Following is the simple co-processor code

package com.myemployer.group.project.hbase.monitoring.coprocessor;

<Import stmts>

public class HbaseMetricsDumper extends BaseRegionObserver {
        public static final Log log =

        public void start(CoprocessorEnvironment e) throws IOException {
                log.debug(" Starting the co-processor HbaseMetricsDumper ");

        public void preGet(ObserverContext<RegionCoprocessorEnvironment> e,
                        Get get, List<KeyValue> results) {
                 log.debug(" About to invoke 'get'  ");

Here's the corresponding entry on the Hbase region server hbase-site.xml.


Once I start hbase ,I don't see the expected log stmt " Starting the
co-processor HbaseMetricsDumper " logged in the start() method. Neither do I
see the log stmt logged through the preGet() callback. 

Could anyone see the problem here..

View this message in context: http://apache-hbase.679495.n3.nabble.com/Co-processor-seems-to-be-failing-to-load-tp4032590.html
Sent from the HBase User mailing list archive at Nabble.com.

View raw message