Re: does hbase scan doubts

2016-03-22 Thread Jerry He
The HBase client scanner goes through the regions in the scan range one at
a time, making call to the region server.
See this pending JIRA for the relevant discussion.
https://issues.apache.org/jira/browse/HBASE-1935

Thanks.

Jerry


On Sun, Mar 13, 2016 at 11:37 AM, Shushant Arora 
wrote:

> Does hbase scan or get is single threaded?
> Say I have hbase table with 100 regionservers.
>
> When I scan a key rangle say a-z(distributed on all regionservers), will
> the client make calls to regionservers in parallel all at once or one by
> one.First it will get all keys from one regionserver then make a next call
> to another regionserver in lexicographic order of keys?
>
> If it makes call in parallel then how does it ensure result to be sorted by
> key always?
>
> Thanks!
>


does hbase scan doubts

2016-03-13 Thread Shushant Arora
Does hbase scan or get is single threaded?
Say I have hbase table with 100 regionservers.

When I scan a key rangle say a-z(distributed on all regionservers), will
the client make calls to regionservers in parallel all at once or one by
one.First it will get all keys from one regionserver then make a next call
to another regionserver in lexicographic order of keys?

If it makes call in parallel then how does it ensure result to be sorted by
key always?

Thanks!