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

Beeline No Current connection

Beeline No Current connection

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
Highlighted

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

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.

 

 

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

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.

 

 

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

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