Created on 04-15-2016 08:55 AM - edited 09-16-2022 03:14 AM
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 ?
Created on 04-05-2017 10:22 AM - edited 04-05-2017 10:40 AM
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.
Created 04-07-2017 03:03 AM
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.
Created on 04-20-2017 10:58 AM - edited 04-20-2017 04:20 PM
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