O'Reilly logo

Hadoop Operations and Cluster Management Cookbook by Shumin Guo

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

Installing Hive

As a top-level abstraction language, Hive provides a handy tool for manipulating data storage on HDFS with SQL-like language. In this section, we will talk about installing Hive on our Hadoop cluster.

Getting ready

Before we install Hive, we need to make sure Hadoop has been properly installed. Please refer to the previous sections about the configuration of a Hadoop cluster.

Download Hive from a mirror site with a command similar to the following on the administrator machine:

wget http://apache.osuosl.org/hive/stable/hive-0.9.0.tar.gz -P ~/repo

How to do it...

Use the following steps to install Hive:

  1. Log in to the master node from the Hadoop administrator machine as hduser with the following command:
    ssh hduser@master
    
  2. Copy the archive ...

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