Configure Phoenix-Hive connector using Cloudera Manager
- Go to the Hive service.
- Click the Configuration tab.
- Select Scope > Hive Cluster (Service-Wide).
- Select Category > Advanced.
- Locate the
Hive Auxiliary JARs Directory
property or search for it by typing its name in the Search box. - Add the following auxiliary path directory:
/usr/local/phoenix-hive.
- Locate the
Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml
property or search for it by typing its name in the Search box. - Add the following property values:
Name: hive.aux.jars.path
Value: file:///opt/cloudera/parcels/PHOENIX/lib/phoenix/phoenix-version-hive.jar
- Select Scope > Gateway.
- Select Category > Advanced.
- Locate the
Hive Client Advanced Configuration Snippet (Safety Valve) for hive-site.xml
property or search for it by typing its name in the Search box. - Add the following property values:
Name: hive.aux.jars.path
Value: file:///opt/cloudera/parcels/PHOENIX/lib/phoenix/phoenix-version-hive.jar
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Restart the role and service when Cloudera Manager prompts you to restart.