Support Questions
Find answers, ask questions, and share your expertise

Hive2Server Issues

Highlighted

Hive2Server Issues

New Contributor

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

1 REPLY 1
Highlighted

Re: Hive2Server Issues

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.

Don't have an account?