How can I transfer data from Hive (external table) to Hbase?
-
I have an external table in Hive with 3 years of data. Hive works really well for me in cases of aggregation and all but in a lot of cases I need to search for some specific rows in the data and hive is very slow in that case if I don't specify any partition. I am new to HBase and tried bulk load using 'importtsv' but facing some issues in that. I was wondering if there is a better way for that.
-
Answer:
This link should be able to help. http://mevivs.wordpress.com/2010/11/24/hivehbase-integration/
Afroz Mohammad at Quora Visit the source
Other answers
importtsv utility is for loading data in TSV format into Hbase. This works fine, but the issue which I faced was the preformance is very slow. Writing own Map Reduce code to bulk load works much better then importtsv though it also uses mapreduce. Coming to your problem statement, Hive-Hbase integration will be the right approach. I have worked with migrating 400 million data from Hive to Hbase and works well.
Sreejith Pillai
Related Q & A:
- How can I display data in a listview?Best solution by Stack Overflow
- How can I extract data of an external XML to PHP?Best solution by Stack Overflow
- How can I transfer my pictures from my computer to my Ipod?Best solution by Yahoo! Answers
- How can I transfer my address book from one Yahoo account to a new one?Best solution by Yahoo! Answers
- How can i transfer the address book from one yahoo account to another?Best solution by Yahoo! Answers
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.