Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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