Support Questions

Find answers, ask questions, and share your expertise

Failed on: Service Check Hive

avatar

I am using Ambari 2.4 and getting below error when I run hive service check .

It looks like a bug

File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 294, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/tmp/templetonSmoke.sh zld00736.vci.att.com ambariqa 50111 idtest.ambariqa.1494348478.61.pig no_keytab false kinit no_principal /var/lib/ambari-agent/tmp' returned 1. Templeton Smoke Test (pig cmd): Failed. : {"error":"File /usr/hdp/2.5.3.40-1/hive/lib/hive-common.jar/zookeeper.jar does not exist."}http_code <500>

Please provide solution for this.

1 ACCEPTED SOLUTION

avatar
Master Mentor

@sivareddy akkala

Please login to Amabri UI and navigate to:

Ambari UI -> Hive -> Configs -> Filter, check jars listed in property "templeton.libjars"

And then change the value as following then restart the services that needs required restart in the ambari UI.

templeton.libjars= /usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar 

.

You can also find the HCC article on similar line: https://community.hortonworks.com/articles/15958/templetonlibjars-property-changed-its-value-after.h...

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@sivareddy akkala

Please login to Amabri UI and navigate to:

Ambari UI -> Hive -> Configs -> Filter, check jars listed in property "templeton.libjars"

And then change the value as following then restart the services that needs required restart in the ambari UI.

templeton.libjars= /usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar 

.

You can also find the HCC article on similar line: https://community.hortonworks.com/articles/15958/templetonlibjars-property-changed-its-value-after.h...

avatar

Great Thanks Issue Resolved

avatar

Ambari UI -> Hive -> Configs -> Advanced webhcat-site