Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> passing a parameter to an observer coprocessor


Copy link to this message
-
passing a parameter to an observer coprocessor
Hi all,

   I want to add some dynamic behavior to my observer cp, say:

postPut(){

if(flag) {do function1()};
else {do function2()}

}

  Is there a way to dynamically change the value of flag? One Feasible
approaches is to change a value in table descriptor, but then I need to
restart the table. Is there a way to pass a parameter using an API, say,
from an endpoint, to an observer? Another way to ask this question is, is
there a shared variable between an observer, and an endpoint, in a common
table?

Thanks,
Wei
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB