Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Calling endpoint fails


Copy link to this message
-
Re: Calling endpoint fails
Amit Sela 2013-07-10, 16:17
Yep. One of the parameters I tried passing was enum, not so necessary so I
changed to String and works fine.
Thanks!
On Wed, Jul 10, 2013 at 5:26 PM, Ted Yu <[EMAIL PROTECTED]> wrote:

> bq. IPC server unable to read call parameters: Error in readFields.......
>
> Was there more in the stack trace ?
>
> Did your Endpoint coprocessor serialize/deserialize additional parameter(s)
> ?
>
> On Wed, Jul 10, 2013 at 5:15 AM, Amit Sela <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > I'm trying to deploy an EndPoint Coprocessor I wrote. This isn't the
> first
> > one I'm writing and deploying but I can't seem to find the problem here.
> > I pack the code in a JAR, copy it to HDFS and load it to the table from
> > shell (with full URI of course).
> >
> > When  I try to execute the endpoint (which execute a scan using
> > InternalScanner) I get nothing for a few seconds and then I get
> exceptions:
> >
> > HConnectionImplementation » Error executing for row "start_key"
> > RetriesExhaustedException: Failed after attempts=10, exceptions:
> > IOException: IPC server unable to read call parameters: Error in
> > readFields.......*10 times*
> > *
> > *
> > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
> > at java.util.concurrent.FutureTask.get(FutureTask.java:111)
> > at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processExecs(HConnectionManager.java:1453)
> > at
> org.apache.hadoop.hbase.client.HTable.coprocessorExec(HTable.java:1236)
> > at
> org.apache.hadoop.hbase.client.HTable.coprocessorExec(HTable.java:1216)
> > at
> >
> >
> org.apache.hadoop.hbase.client.HTablePool$PooledHTable.coprocessorExec(HTablePool.java:481)
> > at
> >
> >
> com.infolinks.redmap.services.impl.utils.TestExecutor.testHBaseCPScan(TestExecutor.java:171)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:601)
> >
> > Is there something I missed in deployment ?
> > Thanks,
> >
> > Amit.
> >
>