Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

WebHCat Server notworking CDH 5.7 VM

avatar
Contributor

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