Installing Hive on Tez

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

  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