Getting started with Apache Hive

In order to install Hive, we recommend that you use a freely available commercial Hadoop distribution as described in Chapter 1, Getting Started with Hadoop v2. Another alternative is to use Apache Bigtop to install Hive. Refer to the Bigtop-related recipe in Chapter 1, Getting Started with Hadoop v2 for steps on installation of Hive using the Apache Bigtop distribution.

How to do it...

This section describes how to get started with Hive.

  1. If you already have a working Hive installation, start the Hive Command Line Interface (CLI) by executing hive in the command prompt and skip to step 4:
    $ hive
    
  2. In case you don't have a working Hive and Hadoop installation, the following couple of steps will guide you on how to install ...

Get Hadoop MapReduce v2 Cookbook - Second Edition 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.