hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Tan <w...@us.ibm.com>
Subject passing a parameter to an observer coprocessor
Date Thu, 22 Aug 2013 16:36:57 GMT
Hi all, 

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


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 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message