hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Faisal <rabban...@yahoo.com>
Subject Re: Hbase Custom Filter org.apache.hadoop.hbase.client.RetriesExhaustedException
Date Tue, 25 Oct 2011 07:33:21 GMT
Thanks St.Ack,  I have not restarted server and yes there are issues with HbaseObjectWritable
kindly tell me how to add it in HbaseObjectWritable.

From: Stack <stack@duboce.net>
To: user@hbase.apache.org; Faisal <rabbani17@yahoo.com>
Sent: Monday, October 24, 2011 9:02 PM
Subject: Re: Hbase Custom Filter org.apache.hadoop.hbase.client.RetriesExhaustedException

Your filter is on client and serverside? (You restarted server?).  You
may also need to add it to HbaseObjectWritable (see list of classes

Enabling rpc logging can also help these kinda issues.  Enable DEBUG
for the org.apache.hadoop.ipc package (yes, thats hadoop.ipc, not


On Mon, Oct 24, 2011 at 7:06 AM, Faisal <rabbani17@yahoo.com> wrote:
> Hi,
> I just created and deployed customFilter. Now while em trying to use my custom filter.
I have already added the customFilter's jar file in project and also set the path for  'hbase-env.sh'
but still I got following exceptions
> I get exception
> Exception in thread "main" org.apache.hadoop.hbase.client.RetriesExhaustedException:
Trying to contact region server ccnew:60020 for region testtable,,1318591116252.cc33b3d923e915895acb5b3ce2ea1387.,
row '', but failed after 10 attempts.
> Exceptions:
> java.io.IOException: Call to ccnew/ failed on local exception: java.io.EOFException
> at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(HConnectionManager.java:1012)
>         at org.apache.hadoop.hbase.client.HTable$ClientScanner.nextScanner(HTable.java:1077)
>         at org.apache.hadoop.hbase.client.HTable$ClientScanner.initialize(HTable.java:1000)
>         at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:533)
>         at customfilters.Main.main(Main.java:56)
> In regionServer Log I got these exceptions:
> org.apache.hadoop.ipc.HBaseServer: IPC Server listener on 60020: readAndProcess threw
exception java.io.IOException: Error in readFields. Count of bytes read: 0
> java.io.IOException: Error in readFields
>     at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:524)
>     at org.apache.hadoop.hbase.ipc.HBaseRPC$Invocation.readFields(HBaseRPC.java:127)
>     at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.processData(HBaseServer.java:978)
>     at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:946)
>     at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:522)
>     at org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.java:316)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>     at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Can't find class customfilter.CustomFilter
>     at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:514)
>     at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:442)
>     at org.apache.hadoop.hbase.filter.FilterList.readFields(FilterList.java:240)
>     at org.apache.hadoop.hbase.client.Scan.readFields(Scan.java:525)
>     at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:521)
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message