28807
DISCUSSIONS
102216
MEMBERS
3161
ARTICLES
Created 09-28-2016 04:36 AM
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