How can I have multi table transactions in HBase?
-
I want to save entries either in a set of tables or none of any. Database provides transaction for that. Is there anything available for HBase also? Has anyone tried to implement that open source or by changing into HBase code?
-
Answer:
Check our opensourced transaction libarary: "https://github.com/VCNC/haeinsa" It is multi-row, multi-table transaction client library for HBase. It's linearly scalable, fault-tolerant and easy to migration from HBase cluster. Since it is already used in practice for our service (300M+ transactions per day) for several month, I can say that it can be used in real service. It is inspired by Percolator, but detailed implementation is different.
James Lee at Quora Visit the source
Other answers
There is no straight forward way to accomplish cross table or even cross row transactions in HBase. HBase gives up transactions and to gain scalability. As the system exists today, you'll have to build transaction logic in your application side. Having said that, you probably want to re-evaluate your requirement for transactions and think about doing it all in a single row. Some applications can be redesigned to leverage what HBase has to offer. Others might need sophistication on the client side or might not be a good fit for HBase at all.
Amandeep Khurana
Related Q & A:
- How can I find an online job that I can start for free?Best solution by Yahoo! Answers
- How can I make my interests table transparent on Myspace?Best solution by Yahoo! Answers
- How can I ask my mom if I can have a boyfriend?Best solution by Yahoo! Answers
- How can I make money at home using my computer without doing any type of multi-level marketing?Best solution by Yahoo! Answers
- I can not send out my emails! How can I fix it.
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.