Title
Create new category
Edit page index title
Edit category
Edit link
Configure CDP Hive and Tez
This page describes how to configure Hive and Tez in CDP clusters so that Pulse can collect query statistics, performance metrics, and lineage information.
Configure CDP Hive for Pulse
View Hive Table Details in Pulse
To display Hive table details with data in the Pulse UI:
Enable automatic statistics gathering. In the
hive-site.xmlfile, set the following properties totrue:
This allows Hive to compute table statistics automatically.
Compute statistics manually (optional). You can also run the following Hive command to compute table statistics manually:
Enable JMX for Hive Metastore and HiveServer2
For Hive Metastore Server:
Navigate to Hive > Java Configuration Options.
Update the property with the following values.
For HiveServer2:
Navigate to Tez > Java Configuration Options.
Update the property with the following values.
Place Hive Hook JARs
Get the Hive hook JARs from the Acceldata team (refer to the version mapping table).
Remove the existing Hive/Tez hook JAR from
/opt/acceldata/before placing the new JAR.Place the JARs on all HiveServer2 nodes in the local path:
Hook Version Mapping
Distro Version | Hive Version | Tez Version | Pulse Hook Jar Name |
|---|---|---|---|
CDP | 3.1.3 | 0.9.1 | ad-hive-hook cdp 3.1.3-assembly-x.y.z.jar |
Ensure the hook directory is readable and executable by all users.
X.Y.Z >> For details about supported hook versions on each Pulse version, see Supported Hook Versions.
For Pulse 4.0.x, use the hook version 2.0.1
For Pulse 4.1.x, use the hook version 2.1.2
Update Hive Environment with Hook JAR
In CM, search for:
Hive Service Environment Advanced Configuration Snippet (Safety Valve)
Hive on Tez Service Environment Advanced Configuration Snippet (Safety Valve)
Add the following property:
<JARNAME>: Select the corresponding Hook JAR from the mapping table based on your Hive and Tez versions.
X.Y.Z >> For details about supported hook versions on each Pulse version, see Supported Hook Versions.
Update Hive Site Properties
In CM, search for:
Hive Service Advanced Configuration Snippet (Safety Valve) for
hive-site.xmlHive on Tez Service Advanced Configuration Snippet (Safety Valve) for
hive-site.xml
Switch to XML view and add the following properties:
Restart Hive Services
Restart affected Hive components.
Deploy the updated client configuration.
Configure CDP Tez for Pulse
Place Tez Hook JARs
Obtain the Hive hook JARs from the Acceldata team (refer to the version mapping table).
Log in to any HDFS client node.
Avoid clicking action available under Tez "Upload Tez tar file to HDFS"
Update Tez Tarball
Update the Tez tarball with the Pulse hook JAR.
During upgrades or hook updates, ensure the Tez tarball contains only the latest Acceldata hook JAR. Remove any older hook files to avoid conflicts.
Update Tez Site Properties
In CM, search for:
Tez Client Advanced Configuration Snippet (Safety Valve) for tez-conf/tez-site.xmlSwitch to XML view and add the required Pulse properties.
Result
The CDP cluster services are configured with Pulse hook JARs and JMX properties. Pulse can collect metrics, capture query data, and integrate with Hive and Tez.
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2026