Re: Parallel Scanner

2017-02-19 Thread Anil
Thanks Ram. I will look into EndPoints. On 20 February 2017 at 12:29, ramkrishna vasudevan < ramkrishna.s.vasude...@gmail.com> wrote: > Yes. There is way. > > Have you seen Endpoints? Endpoints are triggers like points that allows > your client to trigger them parallely in one ore more regions us

Re: Parallel Scanner

2017-02-19 Thread ramkrishna vasudevan
Yes. There is way. Have you seen Endpoints? Endpoints are triggers like points that allows your client to trigger them parallely in one ore more regions using the start and end key of the region. This executes parallely and then you may have to sort out the results as per your need. But these end

Re: Parallel Scanner

2017-02-19 Thread Anil
Thanks Ram. So, you mean that there is no harm in using HTable#getRegionsInRange in the application code. HTable#getRegionsInRange returned single entry for all my region start key and end key. i need to explore more on this. "If you know the table region's start and end keys you could create p

Re: On HBase Read Replicas

2017-02-19 Thread Anoop John
Thanks Enis.. I was not knowing the way of setting replica id specifically.. So what will happen if that said replica is down at the read time? Will that go to another replica? -Anoop- On Sat, Feb 18, 2017 at 3:34 AM, Enis Söztutar wrote: > You can do gets using two different "modes": > - Do

Re: Parallel Scanner

2017-02-19 Thread ramkrishna vasudevan
Hi Anil, HBase directly does not provide parallel scans. If you know the table region's start and end keys you could create parallel scans in your application code. In the above code snippet, the intent is right - you get the required regions and can issue parallel scans from your app. One thing