Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Beeline connection hangs


Beeline connection hangs

New Contributor
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.


Re: Beeline connection hangs

Master Guru

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.
Don't have an account?
Coming from Hortonworks? Activate your account here