Skip to main content
rchaman
Bronze ⭐️⭐️⭐️
Sep 26, 2017 6:14 AM UTC

How to add custom jar in hcat query

  • Oct 5, 2026 9:18 AM UTC
  • 0 replies
  • 813 views
  • Translate All

While running Hcat query, it doesn't source hive-env.sh file but exports hcat-env.sh

Add below parameter in hcat-env.sh from Ambari and restart hive services.

HIVE_AUX_JARS_PATH=/tmp/testjar where /tmp/testjar is the directory for all custom jars.