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

Cloudera Manager 4 and CDH 4 have reached End of Maintenance (EOM) on August 9, 2015. Cloudera will not support or provide patches for any of the Cloudera Manager 4 or CDH 4 releases after that date.

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)
This page last updated August 5, 2015