In your original posting, you have:
           hasMore = scanner.next(results,1);

Was there particular reason for placing the limit of 1 above ?

Cheers

On Sun, Jul 21, 2013 at 7:21 PM, Julius <[email protected]> wrote:

> Ted Yu <yuzhihong@...> writes:
>
> >
> > Typo below: I meant aggregates such as avg, min, etc
> >
> > One minor thing about Julius code: the following construct should be used
> > to close the scanner.
> >
> >       } while (hasMoreRows);
> >     } finally {
> >       scanner.close();
> >     }
> >
>
>
> I found the reason why the scanner seemed in "perpetual loop".
> The client was timing out and re-sbumitting the requests.
> I set hbase.rpm.timeout to a much higher value and the requests complete
> successfully.
>
> Thank you for taking the time to read my question and post suggestions.
>
> Cheers,
>
> Julius
>
>

Reply via email to