Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Concurrent Put in Hbase

avatar
Explorer

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
Explorer

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