I am trying to connect to Hive tables from Vertica according to the documentation.
Curl command:
$ curl http://hcathost:50111/templeton/v1/ddl/database?user.name=hive; echo
But I am getting this error. I can't understand what's going wrong! I am new to this, so any help is highly appreciated.
The error message:
{"statement":"show databases like '*';","error":"unable to show databases for: *","exec":{"stdout":"","stderr":"which: no /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop/bin/hadoop in ((null))\ndirname: missing operand\nTry `dirname --help' for more information.\n/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop/bin/hadoop: line 26: /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hcatalog/sbin/../libexec/hadoop-config.sh: No such file or directory\n/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop/bin/hadoop: line 136: cygpath: command not found\n/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop/bin/hadoop: line 139: exec: : not found\n","exitcode":127}}
Thanks in advance!