Support Questions

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

How do you test an HBase Endpoint Coprocessor?

avatar
Master Guru

How can you test to see if the processor is working?

Is there a way to test from the shell?

1 ACCEPTED SOLUTION

avatar
Master Collaborator

You can add debug logs in your coprocessor.

Enable DEBUG logging on region servers and check the logs after action is performed in shell.

View solution in original post

5 REPLIES 5

avatar
Master Collaborator

Can you describe the function of the coprocessor ?

It should be possible to use shell and observe the side effect your coprocessor makes.

avatar
Master Collaborator

You can add debug logs in your coprocessor.

Enable DEBUG logging on region servers and check the logs after action is performed in shell.

avatar
Master Guru

I am just trying on the Sum processor example that's out there for now

avatar
Super Guru

Here is a good example of observer coprocessor with testing code. Don't know if we have anything to test through hbase shell.

http://www.3pillarglobal.com/insights/hbase-coprocessors

avatar
Master Guru

it's the example on for Sum