Hello guys,

I've got a problem while adding a filter to scanner in a client app which
runs on the remote (not the one from HBase cluster) box. The same code works
well and scan result is fetched very quickly if I run the client on the same
box where HBase master resides. If I comment out adding filter then the
scanner returns results. But with filter it keeps showing me the error
below.

I'm using HBase 0.20.3 on both ends.

On the mailing list I saw that problems like this can arise when using
different versions of HBase on server and on client, but this is not the
case. Also the error like this can show up when it takes a lot of time to
initialize scanner (lease time by default is 1 min), but I assume this is
also not the case since without adding filter I got results very quickly.

Does anyone have an idea what is going on?

- in log on remote client side:

Exception in thread "main"
org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact
region server 10.210.71.80:39207 for region xxxxx,,1267450079067, row
'yyyyy', but failed after 10 attempts.
Exceptions:
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.210.71.80:39207 failed on local exception:
java.io.EOFException

    at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getRegionServerWithRetries(HConnectionManager.java:1002)
    at
org.apache.hadoop.hbase.client.HTable$ClientScanner.nextScanner(HTable.java:1931)
    at
org.apache.hadoop.hbase.client.HTable$ClientScanner.initialize(HTable.java:1851)
    at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:372)
    at
com.sematext.sa.client.AggregatesAccessor.getResult(AggregatesAccessor.java:74)
    at com.sematext.sa.client.ClientExample.main(ClientExample.java:41)


- in HBase master log:

2010-03-17 12:37:45,068 ERROR
org.apache.hadoop.hbase.regionserver.HRegionServer:
org.apache.hadoop.hbase.UnknownScannerException: Name: -1
        at
org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1877)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:657)
        at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)

- in HBase region server log/out: nothing

Thank you in advance.
Alex.

Reply via email to