Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

WebHCat Server notworking CDH 5.7 VM

Explorer

Hi All,

 

I'm facing an error regarding webHcat configuration. Am trying to get database names using curl via webhcat .

 

Command :

curl http://172.31.13.162:50111/templeton/v1/ddl/database?user.name=cloudera


Results :

{"statement":"show databases like '*';","error":"unable to show databases for: *","exec":{"stdout":"","stderr":"which: no /usr/lib/hadoop/bin/hadoop in ((null))\ndirname: missing operand\nTry `dirname --help' for more information.\n Command was terminated due to timeout(3000ms). See templeton.exec.timeout property","exitcode":143}}

 

Hope you can help me on this one.

 

Thanks!

Orson

Who agreed with this topic