This is the documentation for CDH 4.7.0.
Documentation for other versions is available at Cloudera Documentation.

Installing Hive

Install the appropriate Hive packages using the appropriate command for your distribution.

RedHat and CentOS systems

$ sudo yum install <pkg1> <pkg2> ...

SLES systems

$ sudo zypper install <pkg1> <pkg2> ...

Ubuntu and Debian systems

$ sudo apt-get install <pkg1> <pkg2> ...

The packages are:

  • hive – base package that provides the complete language and runtime (required)
  • hive-metastore – provides scripts for running the metastore as a standalone service (optional)
  • hive-server – provides scripts for running the original HiveServer as a standalone service (optional)
  • hive-server2 – provides scripts for running the new HiveServer2 as a standalone service (optional)