hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: Confirming a Bug
Date Sun, 18 Mar 2012 09:28:49 GMT
Hi Peter,

Could you be hitting HBASE-5121? Or even HBASE-2856?

Lars

On Mar 17, 2012, at 20:46, Peter Wolf <opus111@gmail.com> wrote:

> Hello,
> 
> A couple of days ago, I asked about strange behavior in my "Scan.addFamiliy reduces results"
thread.
> 
> I want to confirm that I did find a bug, and if so, how to submit a bug report.
> 
> The basic strangeness is that changing the amount of caching, changes the number of results.
 In the original thread, this was confused by the fact that adding different families also
changed the number of results.  We thought it was a filtering problem.
> 
> However, changing nothing but the setCaching() value changes the number of results. 
Furthermore, the result difference is a multiple of the setCaching() value.
> 
> Here is the pseudo code:
> 
>        Scan scan = new Scan(...);
>        scan.addFamily(...);
>        Filter filter = ...
>        scan.setFilter(filter);
> 
> -->     scan.setCaching(10000); <--
> 
>        scanner = hTable.getScanner(scan);
>        Iterator<Result> it = scanner.iterator();
>        while (it.hasNext()) {
>            Result result = it.next();
>            ...
>        }
> 
> 
> Thank you
> Peter

Mime
View raw message