Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: http://hostname/8000/hcatalog/ – list index out of range

$
0
0

step by step I am coming closer.
in console I have set:
export PYTHON_CMD=/usr/bin/python
export HCAT_PREFIX=/usr/lib/hive-hcatalog

and now I am getting:
{“statement”:”show databases like ‘*’;”,”error”:”unable to show databases for: *”,”exec”:{“stdout”:””,”stderr”:”/usr/bin/python: can’t open file ‘/usr/bin/hcat.py’: [Errno 2] No such file or directory\n”,”exitcode”:2}}

/var/log/hive-hcatalog/webhcat.log:
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.HcatDelegator | Main.getAppConfigInstance().get(AppConfig.UNIT_TEST_MODE)=null
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.ExecServiceImpl | Running: /usr/bin/python /usr/bin/hcat.py -e “show databases like ‘*’;” -D hive.ddl.output.format=json -D hive.format=json
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.ExecServiceImpl | Env HADOOP_PREFIX=/usr/lib/hadoop
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.ExecServiceImpl | Env JAVA_HOME=/usr
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.ExecServiceImpl | Env HADOOP_USER_NAME=hive
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.ExecServiceImpl | Env HIVE_HOME=/usr/lib/hive
INFO | 17 Sep 2014 20:00:03,785 | org.apache.hive.hcatalog.templeton.ExecServiceImpl | Env HADOOP_HOME=/usr/lib/hadoop


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>