Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Concurrent Put in Hbase

avatar
New Member

Lets say I have two Spark Jobs that inserts data to HBase. Is it okay if I have two concurrent jobs inserting to the same table at the same time?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

@Camille Bernardez

That would be absolutely no problem. It is exactly what Hbase was designed for; handling many, many concurrent insert (put) and retrieve (get) requests. So it will handle two or more concurrent jobs, even if they handle the same keys.

View solution in original post

4 REPLIES 4

avatar
Super Collaborator

@Camille Bernardez

That would be absolutely no problem. It is exactly what Hbase was designed for; handling many, many concurrent insert (put) and retrieve (get) requests. So it will handle two or more concurrent jobs, even if they handle the same keys.

avatar
New Member

does it not slow down insert to hbase table?

avatar
Super Collaborator

@Camille Bernardez

Not really, if you have a couple of Regionservers and the key space is distributed evenly. Once again this is the sweetspot of HBase, high volume random read/write workloads.

avatar
Super Collaborator

@Camille Bernardez

Please mark the question as answered, if it is answered