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.

Hive2 error connection

Hive2 error connection

New Contributor

I have cloudera quickstart 5.5 on linux red hat.

I tried:

>beeline
>! connect jdbc:hive2://10000

and it works, but when i try:bEIFf.png

 

I don´t know why if i get connection, shows these error

2 REPLIES 2

Re: Hive2 error connection

New Contributor


Try this

If you have kerberes principal

beeline -u "jdbc:hive2://192.168.11.138:10000/;principal=hive/192@PPINTERNAL.IND.IN"

 

Or 

 

% bin/beeline
Hive version 0.11.0-SNAPSHOT by Apache
beeline> !connect jdbc:hive2://localhost:10000 scott tiger org.apache.hive.jdbc.HiveDriver

Re: Hive2 error connection

New Contributor

Its working now