Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
HBase High Performance Cookbook

You're reading from  HBase High Performance Cookbook

Product type Book
Published in Jan 2017
Publisher Packt
ISBN-13 9781783983063
Pages 350 pages
Edition 1st Edition
Languages
Author (1):
Ruchir Choudhry Ruchir Choudhry
Profile icon Ruchir Choudhry
Toc

Table of Contents (19) Chapters close

HBase High Performance Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Configuring HBase 2. Loading Data from Various DBs 3. Working with Large Distributed Systems Part I 4. Working with Large Distributed Systems Part II 5. Working with Scalable Structure of tables 6. HBase Clients 7. Large-Scale MapReduce 8. HBase Performance Tuning 9. Performing Advanced Tasks on HBase 10. Optimizing Hbase for Cloud 11. Case Study Index

Using Hive with Apache HBase


Hive is an ETL engine for HBase/Hadoop. It has an SQL-like query language, popularly known as Hive QA for SELECT(read) and INSERT(write). The main objective is to do ad hoc analysis on Petabyte-level data. Hive integration was originally introduced in HIVE-705.

Getting ready

  • HBase and Hadoop cluster should be up and running.

    Download Hive from https://archive.apache.org/dist/hive/hive-0.12.0/hive-0.12.0.tar.gz, or you can use this command:

    wget –o, https://archive.apache.org/dist/hive/hive-0.12.0/hive-0.12.0.tar.gz

    This is if you are using the Linux command line.

  • Untar it into the location, say /u/HbaseB

  • Hive uses an integration interface as HbaseStorageHandler, which enables Hive to talk to HBase (Hive projects need these optional JAR files to interact with HBase). Extensive discussions are beyond the current scope of this book. For more information, take a look at the see also section.

How to do it…

The first step is to use HbaseStorageHandler to register the HBase...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime