Reply
Highlighted
Explorer
Posts: 7
Registered: ‎11-27-2017

Getting error message while using hive rest API?

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."}.

Announcements

Currently incubating in Cloudera Labs:

Envelope
HTrace
Ibis
Impyla
Livy
Oryx
Phoenix
Spark Runner for Beam SDK
Time Series for Spark
YCSB