O'Reilly logo

Apache Hive Essentials by Dayong Du

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required