Hi everyone

Ok I looked at the log the issue is that the regionserver is not finding
the jar essentially it is looking to resolve the path I have given in HDFS
allthough I have not started with hdfs;:// etc....
Is this the wanted behaviour?*
Is there a way to specify this is the local filesystem and not hdfs?
On Thu, Dec 13, 2012 at 3:14 PM, Nicolas Maillard wrote:

Hi everyone

After reading up on coprocessors and testing the ones shipped with Hbase.
I have decided to test the one in the definitive guide.
I created a jar with :
* interface RowCountProtocol extends CoprocessorProtocol*
* class RowCountEndpoint extends BaseEndpointCoprocessor implements
Compiled it copied the jar on my signle machine cluster.
Logged into the the shell and added it to the "scores" table.
alter '*scores*', METHOD =>

If I print the table details I get :
Logged into the the shell and added it to the "scores" table.
*{NAME => 'scores', coprocessor2$1 =>
FAMILIES => [{NAME => 'course*
But when I try to call the coprocessor: I get UnknownProtocolException

12/12/13 15:01:23 WARN
client.HConnectionManager$HConnectionImplementation: Error executing for
org.apache.hadoop.hbase.ipc.HBaseRPC$UnknownProtocolException: No matching
handler for protocol coprocessor.RowCountProtocol in region
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)

Since I only hbve one machine in my cluster shell line should be enough to
put the processor on the table and the tbale date says it knows it exists.
What I am not doing correctly to get the coprocessor loaded?
It says no matching handler so I get a feeling it is not a compilation
problem but really finding a coprocessor by that name?
I have given an absolute to my jar on my filesystem. I vould have put it
in the hdfs that is true.
Could be my key being "coprocessor2"?


Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupscm-users @
postedDec 13, '12 at 2:14p
activeDec 13, '12 at 3:05p

1 user in discussion

Nicolas Maillard: 2 posts



site design / logo © 2022 Grokbase