hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrishna vasudevan <ramkrishna.s.vasude...@gmail.com>
Subject Re: Coreprocessor always scan the whole table.
Date Fri, 19 Apr 2013 10:01:26 GMT
HBASE-6870 deals with it. It is not yet committed.  We can review the patch
and take it to closure.

Regards
Ram


On Fri, Apr 19, 2013 at 3:19 PM, GuoWei <wei.guo@wbkit.com> wrote:

> Hello,
>
> We use HBase core processor endpoint  to process realtime data. But when I
> use coreprocessorExec method to scan table and pass startRow and endRow. It
> always scan all table instead of the result between the startRow and endRow.
>
> my code.
>
> results = table.coprocessorExec(IEndPoint_SA.class,  startrow, endrow,
>                     new
> Batch.Call<IEndPoint_SA,Hashtable<String,Hashtable>>() {
>                       public Hashtable<String,Hashtable> call(IEndPoint_SA
> instance)throws IOException{
>                           Hashtable<String,Hashtable> s = null;
>                         try {
>                                         s=instance.GetList();
>                                 } catch (ParseException e) {
>                                         // TODO Auto-generated catch block
>                                         e.printStackTrace();
>                                 }
>                         return s;
>                       }
>                     });
>
>
>
> Best Regards / 商祺
> 郭伟 Guo Wei
> -----------------------------------------------------
>

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