- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Concurrent Put in Hbase
- Labels:
-
Apache HBase
Created 01-27-2017 04:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created 01-27-2017 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 01-27-2017 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 01-27-2017 01:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
does it not slow down insert to hbase table?
Created 01-27-2017 03:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 01-29-2017 08:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please mark the question as answered, if it is answered
