Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6E9B10F9B for ; Tue, 27 May 2014 17:57:19 +0000 (UTC) Received: (qmail 98968 invoked by uid 500); 27 May 2014 17:57:18 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 98893 invoked by uid 500); 27 May 2014 17:57:18 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 98884 invoked by uid 99); 27 May 2014 17:57:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 17:57:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vrodionov@carrieriq.com designates 204.235.122.16 as permitted sender) Received: from [204.235.122.16] (HELO obmail.carrieriq.com) (204.235.122.16) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 17:57:14 +0000 From: Vladimir Rodionov To: "user@hbase.apache.org" Date: Tue, 27 May 2014 10:53:01 -0700 Subject: RE: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields Thread-Topic: How to pass a POJO as a parameter to Coprocessor Getting Exception Error in Read Fields Thread-Index: Ac9506MsAuyggKLqS/qPxWLcNX1jXAAAN3Co Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Make sure that your Writable implementation code is correct. Do you have an= y unit tests for your Writable implementation? Best regards, Vladimir Rodionov Principal Platform Engineer Carrier IQ, www.carrieriq.com e-mail: vrodionov@carrieriq.com ________________________________________ From: Vikram Singh Chandel [vikramsinghchandel@gmail.com] Sent: Tuesday, May 27, 2014 10:46 AM To: user@hbase.apache.org Subject: Re: How to pass a POJO as a parameter to Coprocessor Getting Excep= tion Error in Read Fields Hi Ted Yes you were right The CDH version is 4.5 and HBase version is 0.94.6 Tom full stack trace of log as (displayed on console) is 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:1501) at org.apache.hadoop.hbase.client.HTable.coprocessorExec(HTable.java:1294) at org.apache.hadoop.hbase.client.HTable.coprocessorExec(HTable.java:1274) * at com.thomsonreuters.hbase.**ScanAllEnpoint.main(* *ScanAllEnpoint.java:30) -- Client class (calling CoProcessorExec method here)* Tue May 27 12:04:05 UTC 2014, org.apache.hadoop.hbase.ipc.ExecRPCInvoker$1@1c459fc2, java.io.IOException: IPC server unable to read call parameters: Error in readFields *This repeats for 10 Times* at org.apache.hadoop.hbase.client.ServerCallable.withRetries(ServerCallable.ja= va:186) at org.apache.hadoop.hbase.ipc.ExecRPCInvoker.invoke(ExecRPCInvoker.java:79) at com.sun.proxy.$Proxy8.getResults(Unknown Source) * at com.thomsonreuters.hbase.**ScanAllEnpoint$1.call(* *ScanAllEnpoint.java:35) -- Client Class* * at com.thomsonreuters.hbase.**ScanAllEnpoint$1.call(* *ScanAllEnpoint.java:1) -- Client Class* at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation= $4.call(HConnectionManager.java:1489) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1= 145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:= 615) at java.lang.Thread.run(Thread.java:722) On Tue, May 27, 2014 at 10:45 PM, Tom Brown wrote: > Sorry, accidentally hit send... I meant to suggest this: > > > http://stackoverflow.com/questions/20257356/hbase-client-scan-could-not-i= nitialize-org-apache-hadoop-hbase-util-classes/ > > --Tom > > > On Tue, May 27, 2014 at 11:14 AM, Tom Brown wrote: > > > Can you check your server logs for a full stack trace? This sounds like > it > > could be similar to this: > > > > > > > > On Tue, May 27, 2014 at 10:15 AM, Ted Yu wrote: > > > >> Can you confirm the version of HBase ? > >> > >> To my knowledge, cdh5 is based on 0.96 > >> > >> Cheers > >> > >> > >> On Tue, May 27, 2014 at 1:36 AM, Vikram Singh Chandel < > >> vikramsinghchandel@gmail.com> wrote: > >> > >> > Hi > >> > > >> > I am trying to pass a POJO (RequestVO say) having a single member > >> variable > >> > i.e > >> > *Text Name; *to coprocessorExec method. > >> > > >> > This VO implements writable > >> > > >> > But getting following exception > >> > > >> > org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed aft= er > >> > attempts=3D10, > >> > > >> > *exceptions:* > >> > Tue May 27 13:42:41 IST 2014, > >> > *org.apache.hadoop.hbase.ipc.ExecRPCInvoker$1@1506a1e, > >> > java.io.IOException: IPC server unable to read call parameters: Erro= r > in > >> > readFields * > >> > > >> > *HBase v :* 0.94.6 Cloudera (CDH 5 Distribution) > >> > *Hadoop :* 2.2.0 > >> > > >> > > >> > > >> > > >> > > >> > -- > >> > *Regards* > >> > > >> > *VIKRAM SINGH CHANDEL* > >> > > >> > Please do not print this email unless it is absolutely > necessary,Reduce. > >> > Reuse. Recycle. Save our planet. > >> > > >> > > > > > -- *Regards* *VIKRAM SINGH CHANDEL* Please do not print this email unless it is absolutely necessary,Reduce. Reuse. Recycle. Save our planet. Confidentiality Notice: The information contained in this message, includi= ng any attachments hereto, may be confidential and is intended to be read o= nly by the individual or entity to whom this message is addressed. If the r= eader of this message is not the intended recipient or an agent or designee= of the intended recipient, please note that any review, use, disclosure or= distribution of this message or its attachments, in any form, is strictly = prohibited. If you have received this message in error, please immediately= notify the sender and/or Notifications@carrieriq.com and delete or destroy= any copy of this message and its attachments.