coprocessor deployment : replacing jar without restarting hbase will take effect? -


let's assume case.

i have coprocessor declared in hbase-site.xml

<property> <name>hbase.coprocessor.region.classes</name> <value>my.co.processor</value> <property> 

and in hbase-env.sh declared coprocessor classpath this

export hbase_classpath="${hbase_home}/lib/coprocessor.jar" 
  1. if find bug in coprocessor later, can replace jar file in region servers without restarting entire hbase?

  2. if want add coprocessor, think have restart entire hbase, correct? know can declare in hbase shell every single table, think that's not option think if have many tables apply new coprocessor.

you can load coprocessor specific htable: htabledescriptor.addcoprocessor(classname, path, coprocessor.priority_user, null); in way, need disable table, add coprocessor , enable table.


Comments