Reply
New Contributor
Posts: 1
Registered: ‎04-15-2016

Beeline No Current connection

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  ?

New Contributor
Posts: 4
Registered: ‎03-08-2017

Re: Beeline No Current connection[SOLVED FOR ME] try in your case

[ Edited ]

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.

 

 

Posts: 130
Topics: 7
Kudos: 15
Solutions: 12
Registered: ‎07-16-2015

Re: Beeline No Current connection[SOLVED FOR ME] try in your case

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.

 

 

Highlighted
New Contributor
Posts: 4
Registered: ‎03-08-2017

Re: Beeline No Current connection[SOLVED FOR ME] try in your case

[ Edited ]

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

Announcements