Cloudera Labs
Provide feedback on Cloudera Labs
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Getting error message while using hive rest API?

Getting error message while using hive rest API?

Explorer

I am trying to query in Hive using rest API as described in this Apache WebHCat Reference Hive ,

I ran query

curl -s -d execute="select+*+from+adb.data_init+limit+100;" \
       -d statusdir="/DATA/testRest.txt" \
       'http://[hostname_of_my_server]:50111/templeton/v1/hive?user.name=hsjsa'

, and getting the error message

 

{"error":"File /opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/lib/hive-hcatalog/sbin/../share/webhcat/svr/lib/zookeeper-3.4.3.jar does not exist."}.

1 REPLY 1
Highlighted

Re: Getting error message while using hive rest API?

New Contributor

Did anyone find a resolution to the question? We have the same issue.