hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lars hofhansl <la...@apache.org>
Subject Re: Hbase PrefixFilter Problem
Date Thu, 26 Mar 2015 00:10:17 GMT
Do you have a lot of data? This means the scanner took too long on the server and the client
essentially timed out.

PrefixFilter does not actually skip ahead to the first row in question. You always have to
also set the scanner's startRow to the first row you care about (i.e. the prefix).In your
case also set the startRow to 'Row1'.
-- Lars

      From: Talat Uyarer <talat@uyarer.com>
 To: HBase User <user@hbase.apache.org> 
 Sent: Wednesday, March 25, 2015 1:47 AM
 Subject: Hbase PrefixFilter Problem
   
Hi all,

I try to use Prefix Filter on hbase shell. It throws an exception. I
do not understand its reason. Could you help me ?

scan 'table1',{FILTER => "PrefixFilter('Row1')", LIMIT => 1}

ROW
COLUMN+CELL
ERROR: org.apache.hadoop.hbase.exceptions.OutOfOrderScannerNextException:
Expected nextCallSeq: 1 But the nextCallSeq got from client: 0;
request=scanner_id: 154160 number_of_rows: 100 close_scanner: false
next_call_seq: 0
at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3198)
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29925)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2031)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:116)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:96)
at java.lang.Thread.run(Thread.java:745)

Thanks
-- 
Talat UYARER
Websitesi: http://talat.uyarer.com
Twitter: http://twitter.com/talatuyarer
Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304


   
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message