Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3F1796C9 for ; Mon, 19 Sep 2011 16:30:25 +0000 (UTC) Received: (qmail 40834 invoked by uid 500); 19 Sep 2011 16:30:25 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 40807 invoked by uid 500); 19 Sep 2011 16:30:25 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 40798 invoked by uid 99); 19 Sep 2011 16:30:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 16:30:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saint.ack@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qy0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 16:30:18 +0000 Received: by qyl38 with SMTP id 38so2892320qyl.14 for ; Mon, 19 Sep 2011 09:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YuHYeOIYHXfZHgfbd/5nrD/aTIdqFftcfpuXwhnUSno=; b=lRgxc2FofwUBZZZkri/XTFpQ6Db6GPHQdrJ4qQRXM8FnV2A13lE9P47DOavpbK8b/k hakpoVzIaXyLoma5XFK2+4uk6wDy3242XXZzvZrF98rby48N8910vubWtRyOKfCKG8UJ s4x7DtSrSnUoXelmHjWCIsFADY5ZyX2RPqa+Q= MIME-Version: 1.0 Received: by 10.224.176.4 with SMTP id bc4mr2253985qab.6.1316449797217; Mon, 19 Sep 2011 09:29:57 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.224.74.1 with HTTP; Mon, 19 Sep 2011 09:29:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Sep 2011 09:29:57 -0700 X-Google-Sender-Auth: 2IZOedwDh4CWP702cEB_h8NoAus Message-ID: Subject: Re: Issue about the hbase.client.Scan From: Stack To: dev@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 19, 2011 at 2:03 AM, mac fang wrote: > So Obveriously, the Exception will NOT set since the invokation of setFilter > is later than setBatch. I think it is a bug. > Yes. Mind filing an issue (and perhaps a patch?)? > Second question, i did NOT see any usage of the batch. Instead, i see the > usage of setCache - it will get a set of results back from server in one > time RPC. Something i miss? > See in RegionScanner on server-side where we do getBatch to bound how many results we return in the one go. St.Ack