Search icon
Subscription
0
Cart icon
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
Apache Hive Essentials

You're reading from  Apache Hive Essentials

Product type Book
Published in Feb 2015
Publisher Packt
ISBN-13 9781783558575
Pages 208 pages
Edition 1st Edition
Languages
Author (1):
Dayong Du Dayong Du
Profile icon Dayong Du

Table of Contents (17) Chapters

Apache Hive Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Overview of Big Data and Hive 2. Setting Up the Hive Environment 3. Data Definition and Description 4. Data Selection and Scope 5. Data Manipulation 6. Data Aggregation and Sampling 7. Performance Considerations 8. Extensibility Considerations 9. Security Considerations 10. Working with Other Tools Index

Installing Hive from Apache


To introduce the Hive installation, we use Hive version 1.0.0 as an example. The pre-installation requirements for this installation are as follows:

  • JDK 1.7.0_51

  • Hadoop 0.20.x, 0.23.x.y, 1.x.y, or 2.x.y

  • Ubuntu 14.04/CentOS 6.2

    Note

    Since we focus on Hive in this book, the installation steps for Java and Hadoop are not provided here. For steps on installing them, please refer to https://www.java.com/en/download/help/download_options.xml and http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/ClusterSetup.html.

The following steps describe how to install Hive from Apache through the Linux command line:

  1. Download Hive from Apache Hive and unpack it:

    bash-4.1$ wget http://apache.mirror.rafal.ca/hive/hive-1.0.0/apache-hive-1.0.0-bin.tar.gz
    bash-4.1$ tar -zxvf apache-hive-1.0.0-bin.tar.gz
    
  2. Add Hive to the system path by opening /etc/profile or ~/.bashrc and add the following two rows:

    export HIVE_HOME=/home/hivebooks/apache-hive-1.0.0-bin
    export PATH=$PATH...
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 $15.99/month. Cancel anytime}