Non-Ambari Cluster Installation Guide
Also available as:
PDF
loading table of contents...

Enabling Tez for Hive Queries

Limitations

This release of Tez does not support the following actions:

  • Index creation

  • Skew joins

To enable Tez for Hive Queries:

  1. Copy the hive-exec-0.13.0.jar to HDFS at the following location: /apps/hive/ install/hive-exec-0.13.0.jar.

    su - $HIVE_USER
    hadoop fs -mkdir /apps/hive/install
    hadoop fs -copyFromLocal /usr/hdp/<hdp_version>/hive/lib/hive-exec-1.2.1.2.3.0.0-2557.jar /apps/hive/install/
  2. Enable Hive to use Tez DAG APIs. On the Hive client machine, add the following to your Hive script or execute it in the Hive shell:

    set hive.execution.engine=tez;