New Contributor
Posts: 1
Registered: ‎08-23-2013

Beeline connection hangs

I have setup hiveserver2 through CM 4.6.3 free edition. When I try to connect to hiveserver2 through beeline CLI, it just hangs without any error message, whereas hive works fine from the same server which is also a datanode.

Beeline version 0.10.0-cdh4.3.0 by Apache Hive

beeline -u jdbc:hive2:// -n hiveuser -p hivepwd -d org.apache.hive.jdbc.HiveDriver

Will appreciate any help.

Posts: 1,896
Kudos: 433
Solutions: 303
Registered: ‎07-31-2013

Re: Beeline connection hangs


Could you try the below?

1. Restart HS2. Its service may be locked up due to an odd state.
2. Run beeline with debug enabled to see where its hanging. Debug option is --verbose=true for beeline CLI.