Installing Hive on Tez

Cloudera Runtime (CR) services include Hive on Tez and Hive Metastore (HMS). Hive on Tez is a SQL query engine using Apache Tez that performs the HiveServer (HS2) role in a Cloudera cluster. You need to install Hive on Tez and HMS in the correct order; otherwise, HiveServer fails.

In CDP, Hive Metastore is an independent service called Hive.
  1. Install the Hive service, designated Hive on Tez in CDP.
    HiveServer is installed automatically during this process.
  2. Install HMS, which is designated Hive.
  3. Change the location of the Hive warehouse for managed tables using the Hive Metastore Action menu in Cloudera Manager:Hive > Action Menu > Create Hive Warehouse Directory
  4. Change the location of the Hive warehouse for external tables: Hive > Action Menu > Create Hive Warehouse External Directory