Hello,
I have a problem with WebHCat on Amabri. I have 6node cluster with Ambari 2.0 installed on a server. Everything works beautifuly (HiveServer2, Hcat, commands via beeline).
But I can’t make the WebHCat work.
when I request status:
http://{NAME_NODE}:50111/templeton/v1/status
or
http://{NAME_NODE}:50111/templeton/v1/status?user.name=root
I get: {“status”:”ok”,”version”:”v1″} – Thats good
As soon as I request databases:
http://{NAME_NODE}:50111/templeton/v1/ddl/database?user.name=roor
I always get (after 60 sec):
{“statement”:”show databases like ‘*’;”,”error”:”unable to show databases for: *”,”exec”:{“stdout”:””,”stderr”:”which: no /usr/hdp/2.2.8.0-3150//hadoop/bin/hadoop.distro in ((null))\ndirname: missing operand\nTry `dirname –help’ for more information.\n Command was terminated due to timeout(60000ms). See templeton.exec.timeout property”,”exitcode”:143}}
I looked through the whole forum, nothing worked for me so far, Google didn’t help and WebHCat log says the same.
Im completely lost, please, what could possibly be the problem?