Hi there!
I have set up Hive and added Hive Server 2 in Cloudera Manager Trial version in order to connect with beeline.
Both are in green status but neither port 10000 nor 10002 are listening.
The message I get from beeline is "Failed to connect to <HOST>:10000
Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status.
Error: Could not open client transport with JDBC Uri: jdbc:hive2://<HOST>:10000/: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)"
Here you have the way I'm hitting beeline:
beeline -u jdbc:hive2://<HOST>:10000/;principal=hive/USR@PWD
or
!connect jdbc:hive2://<HOST>:10000 usr pwd org.apache.hive.jdbc.HiveDriver
Marks_08_0-1715474884598.png
are there some steps missing to start HS2?
Marks_08_1-1715475069366.png