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 B1222C05F for ; Mon, 17 Mar 2014 11:49:37 +0000 (UTC) Received: (qmail 69532 invoked by uid 500); 17 Mar 2014 11:49:30 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 68377 invoked by uid 500); 17 Mar 2014 11:49:23 -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 68359 invoked by uid 99); 17 Mar 2014 11:49:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 11:49:22 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [131.246.120.220] (HELO mailgw1.uni-kl.de) (131.246.120.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 11:49:17 +0000 Received: from groupmail.informatik.uni-kl.de (gateway1-haerder.informatik.uni-kl.de [131.246.18.253]) by mailgw1.uni-kl.de (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2HBmqUD016802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 17 Mar 2014 12:48:54 +0100 Received: from [192.168.18.216] (qu-THINK.informatik.uni-kl.de [192.168.18.216]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by groupmail.informatik.uni-kl.de (Postfix) with ESMTP id 16ECB4E8041 for ; Mon, 17 Mar 2014 12:48:52 +0100 (CET) Message-ID: <5326E126.6000203@informatik.uni-kl.de> Date: Mon, 17 Mar 2014 12:48:54 +0100 From: Weiping Qu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: dev@hbase.apache.org Subject: Re: =?GB2312?B?tPC4tDogc2V0TWF4UmVzdWx0U2l6ZSBtZXRob2QgaW4gU2Nhbg==?= References: <5326D36D.1020909@informatik.uni-kl.de> <5A9A57920BD5514FA7E38922FBC875D944645372@EX-MBOX2.xiaomi.net> In-Reply-To: <5A9A57920BD5514FA7E38922FBC875D944645372@EX-MBOX2.xiaomi.net> Content-Type: multipart/alternative; boundary="------------030602080304060002010909" X-Virus-Checked: Checked by ClamAV on apache.org --------------030602080304060002010909 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Thanks. I'd like to assume that setMaxResultSize is equivalent to the SQL Limit clause as expected which is specified each time a SQL statement is executed . Now through "hbase.client.scanner.max.result.size" can the limitation of number of row returned only apply to all the scanner instances. I am wondering why the setMaxResultSize is removed now. > No such method for Scan in 0.94.x. > > If you want to set the max result size for a scan, you can achieve this by setting the "hbase.client.scanner.max.result.size" configuration, the default for which is Long.MAX_VALUE (no limited) > ________________________________________ > ������: Weiping Qu [qu@informatik.uni-kl.de] > ����ʱ��: 2014��3��17�� 18:50 > �ռ���: dev@hbase.apache.org > ����: setMaxResultSize method in Scan > > Hello, > > I could not find the method setMaxResultSize(long m) > (http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html) > in my Scanclass (0.94.13 version). > Can anyone help me? Thanks > > Weiping -- Mit freundlichen Gr��?en / Kind Regards *Weiping Qu* University of Kaiserslautern Department of Computer Science Heterogeneous Information Systems Group P.O. Box 3049 67653 Kaiserslautern, Germany Email: qu (at) informatik.uni-kl.de Phone: +49 631 205 3264 Fax: +49 631 205 3299 Room: 36/331 --------------030602080304060002010909--