Chapter 2. Setting Up the Hive Environment

This chapter will introduce how to install and set up the Hive environment in the cluster and cloud. It also covers the usage of basic Hive commands and the Hive-integrated development environment.

In this chapter, we will cover the following topics:

  • Installing Hive from Apache
  • Installing Hive from vendor packages
  • Starting Hive in the cloud
  • Using the Hive command line and Beeline
  • The Hive-integrated development environment

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, ...

Get Apache Hive Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.