I’m trying to connect a client app using jdbc but can’t. To test things, I followed another thread to try and use beeline, but have been unsuccessful. The server seems to hang. The odd thing is I can use the beeswax UI to run a query and it works. I’ve used a lot of different parameter options for beeline – but here’s generally what happens:
beeline> !connect jdbc:hive2://sandbox:10000 hue org.apache.hive.jdbc.HiveDriver
scan complete in 10ms
Connecting to jdbc:hive2://sandbox:10000
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-1084/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-1084/hive/lib/hive-jdbc-0.14.0.2.2.0.0-1084-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Then it just hangs, nothing else.
Any help in trouble shooting this would be much appreciated.
Should I be passing in some magic username and password parameters? How is beeswax working?