hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: InternalScanner seems in perpetual loop
Date Mon, 22 Jul 2013 02:40:43 GMT
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 <jcplerm@ameritech.net> 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
>
>

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