Created 03-21-2016 06:29 PM
I setup my VM for the first time today. I am trying to complete a Pig tutorial and I am getting the following error:
Connection failed on host sandbox.hortonworks.com:10000 (Execution of '! beeline -u 'jdbc:hive2://sandbox.hortonworks.com:10000/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'' returned 1. Error: Could not open client transport with JDBC Uri: jdbc:hive2://sandbox.hortonworks.com:10000/;transportMode=binary: java.net.ConnectException: Connection refused (state=08S01,code=0) Error: Could not open client transport with JDBC Uri: jdbc:hive2://sandbox.hortonworks.com:10000/;transportMode=binary: java.net.ConnectException: Connection refused (state=08S01,code=0))
Does anyone have any idea how this may be resolved?
Thanks
Created 03-21-2016 07:15 PM
So it sounds like the Hive server is just not up. Can you go into ambari (port 8080 ) and check if Hiveserver is actually started ( i.e. the Hive tab is green.