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 BF135105B0 for ; Fri, 19 Apr 2013 12:13:51 +0000 (UTC) Received: (qmail 83478 invoked by uid 500); 19 Apr 2013 12:13:49 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 83381 invoked by uid 500); 19 Apr 2013 12:13:49 -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 83347 invoked by uid 99); 19 Apr 2013 12:13:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 12:13:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 12:13:42 +0000 Received: by mail-vb0-f46.google.com with SMTP id 11so3497655vbe.5 for ; Fri, 19 Apr 2013 05:13:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=JL70kN2spjzOeuUPLnsIuGiQmzBPPu2wl0qcG13DLuE=; b=eSBE754tQ1YCZj/aTPOs+fHaL2xSwaF3YX4OxSLRC80P+Fs8VTmnBine6ptUaEXFZY bGv6Bp/D8fGntM48LArVeQqTILLEMjyFPiTHDzRvyiACIO7iBgyHZYo+kuLw3Qg9BCLD z+mSUQQRJzTTP4rHbJQiArqcajmSNv8x0RORVWHhbyTYlWfgMy7APY2/YEI35Xvv0Fhg 7vlxu2bbw4IPGgTx/Qgxc4jcc6tbLE+lFxGjhVKSMmj2lp/BwoNotoeFyHH1r1peLdBE CNh1AtU7JnMsc5Rk916pc1lrLll2rV7nHCzv1ixBEYgRTbd7rubYkQlOoKPGvxwFAB5g 7F7A== X-Received: by 10.52.69.49 with SMTP id b17mr9490829vdu.130.1366373581233; Fri, 19 Apr 2013 05:13:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.175.99 with HTTP; Fri, 19 Apr 2013 05:12:41 -0700 (PDT) In-Reply-To: <44501CD4-F488-4F62-8F40-2C7D0B4C56BC@wbkit.com> References: <61D6ED53-84A1-4CAE-A61A-C68E13DC1722@gmail.com> <44501CD4-F488-4F62-8F40-2C7D0B4C56BC@wbkit.com> From: Jean-Marc Spaggiari Date: Fri, 19 Apr 2013 08:12:41 -0400 Message-ID: Subject: Re: Coreprocessor always scan the whole table. To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf307c9e68f0e31f04dab5a360 X-Gm-Message-State: ALoCoQnlOjVJg78ePeBJr+638cxBlS1AasRNRhQAEiSY+yyjg5Pr/kOkUuoqOOPz450SThxzItJB X-Virus-Checked: Checked by ClamAV on apache.org --20cf307c9e68f0e31f04dab5a360 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Then https://issues.apache.org/jira/browse/HBASE-6870 is most probably impacting you. Take a look at the link. It's not yet fixed but it's coming. You might want to upgrade to a release which will include this fix. JM 2013/4/19 GuoWei > > We use base 0.94.1 in our production environment. > > > Best Regards / =E5=95=86=E7=A5=BA > =E9=83=AD=E4=BC=9F Guo Wei > > =E5=9C=A8 2013-4-19=EF=BC=8C=E4=B8=8B=E5=8D=886:01=EF=BC=8CTed Yu =E5=86=99=E9=81=93=EF=BC=9A > > > Which hbase version are you using ? > > > > Thanks > > > > On Apr 19, 2013, at 2:49 AM, GuoWei 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 startR= ow > and endRow. > >> > >> my code. > >> > >> results =3D table.coprocessorExec(IEndPoint_SA.class, startrow, endro= w, > >> new Batch.Call>() { > >> public Hashtable call(IEndPoint_SA > instance)throws IOException{ > >> Hashtable s =3D null; > >> try { > >> s=3Dinstance.GetList(); > >> } catch (ParseException e) { > >> // TODO Auto-generated catch block > >> e.printStackTrace(); > >> } > >> return s; > >> } > >> }); > >> > >> > >> > >> Best Regards / =E5=95=86=E7=A5=BA > >> =E9=83=AD=E4=BC=9F Guo Wei > >> ----------------------------------------------------- > > > > --20cf307c9e68f0e31f04dab5a360--