hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: 答复: setMaxResultSize method in Scan
Date Mon, 17 Mar 2014 16:09:19 GMT
This method was introduced by HBASE-2214 which is in 0.96+

Can you upgrade to 0.96 or 0.98 ?

Cheers


On Mon, Mar 17, 2014 at 4:48 AM, Weiping Qu <qu@informatik.uni-kl.de> wrote:

> 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
>

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