Support Questions

Find answers, ask questions, and share your expertise

Beeline No Current connection

avatar
New Contributor

I have latest cloudera VM

I have installed oracle 11g on it, not able to connect beeline, any thoughts ?

 

beeline –u jdbc:hive2://localhost:10000
Beeline version 1.1.0-cdh5.5.0 by Apache Hive


beeline> set hive.exec.dynamic.partition=true;
No current connection

 

Not able to connect beeline 

 

am I missing somethig  ?

3 REPLIES 3

avatar
Explorer

I having the same error: No current connection

Environment: Hadoop 2.6.0-cdh5.10.0, hive-1.1.0-cdh5.10.0.

**********************************************************************************************************************

Action: ~]$ beeline

 

beeline> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Beeline version 1.1.0-cdh5.10.0 by Apache Hive
beeline> show databases;
No current connection
beeline>

 

Resolution : use this command in ur linux terminal prompt and check with port 10000(default) as well if it doesnt work with 10001.

beeline -u jdbc:hive2://HOSTNAME:10001

Replace HOSTNAME with ur hostname or ip.

 

 

avatar
Super Collaborator

Does HiveServer2 is up and running ?

If yes, does it run on port 10000 ? (per default it should).

 

This is the service beeline try to connect to.

 

 

avatar
Explorer

yes, HiveServer2 is up and running. 10000 is default, if its configured with 10001, then it shud be it and 10002 is the UI port