Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Confirming a Bug


Copy link to this message
-
Re: Confirming a Bug
Hi Peter,

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

Lars

On Mar 17, 2012, at 20:46, Peter Wolf <[EMAIL PROTECTED]> 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