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

Switch to Plain View
HBase >> mail # user >> Re: Coprocessors

Sudarshan Kadambi 2013-04-25, 21:57
lars hofhansl 2013-04-25, 22:06
Sudarshan Kadambi 2013-04-25, 21:44
Copy link to this message
Re: Coprocessors
You might want to have a look at Phoenix (https://github.com/forcedotcom/phoenix), which does that and more, and gives a SQL/JDBC interface.

-- Lars

 From: Sudarshan Kadambi (BLOOMBERG/ 731 LEXIN) <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2013 2:44 PM
Subject: Coprocessors


This is my first post on the HBase user mailing list.

I have the following scenario:
I've a HBase table of upto a billion keys. I'm looking to support an application where on some user action, I'd need to fetch multiple columns for upto 250K keys and do some sort of aggregation on it. Fetching all that data and doing the aggregation in my application takes about a minute.

I'm looking to co-locate the aggregation logic with the region servers to
a. Distribute the aggregation
b. Avoid having to fetch large amounts of data over the network (this could potentially be cross-datacenter)

Neither observers nor aggregation endpoints work for this use case. Observers don't return data back to the client while aggregation endpoints work in the context of scans not a multi-get (Are these correct assumptions?).

I'm looking to write a service that runs alongside the region servers and acts a proxy b/w my application and the region servers.

I plan to use the logic in HBase client's HConnectionManager, to segment my request of 1M rowkeys into sub-requests per region-server. These are sent over to the proxy which fetches the data from the region server, aggregates locally and sends data back. Does this sound reasonable or even a useful thing to pursue?

Michael Segel 2013-04-25, 22:12
Viral Bajaria 2013-04-25, 22:28
Gary Helmling 2013-04-25, 22:35
James Taylor 2013-04-25, 22:44
Sudarshan Kadambi 2013-04-25, 22:36
Michael Segel 2013-04-26, 02:43
James Taylor 2013-04-25, 23:00
Sudarshan Kadambi 2013-04-25, 23:19
James Taylor 2013-04-25, 23:51
James Taylor 2013-05-02, 00:01