Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How can I be sure an HBase Endpoint co-processor is available after I added it via XML configuration

avatar
Master Guru

I have added a custom built Java jar file to the HBase Classpath.

I added to the hbase-site.xml with Ambari.

How can be sure that my endpoint co-processor was available to HBase?

Can I test it via hbase shell?

1 ACCEPTED SOLUTION
7 REPLIES 7

avatar
Master Collaborator

In region server log, you should observe something similar to the following:

2016-06-16 19:44:10,222 INFO [regionserver/hbase5-merge-normalizer-3.openstacklocal/172.22.78.125:16020] coprocessor.CoprocessorHost: System coprocessor org.apache.hadoop.hbase.security.access.AccessController was loaded successfully with priority (536870911).

If the coprocessor was loaded per table, you can use 'describe' command in shell to verify.

avatar
Master Guru

The coprocessor is not showing up in the logs.

it is registered in the ambari custom hbase-site.xml

The jar files were tried both in the hbase classpath and hbase home

avatar
Master Collaborator

Where is the custom jar located ?

Can you show related snippet from hbase-site.xml ?

Thanks

avatar
Master Guru

anyone have a good github hbase coprocessor example with pom

avatar
Master Collaborator

You can find a ton of hbase coprocessors under:

https://github.com/apache/phoenix