Member since
08-06-2013
14
Posts
0
Kudos Received
0
Solutions
02-06-2014
02:54 PM
$ beeline -u jdbc:hive2://hostname:10000 scan complete in 10ms Connecting to jdbc:hive2://hostname:10000 Error: Invalid URL: jdbc:hive2://hostname:10000 (state=08S01,code=0) Beeline version 0.10.0-cdh4.5.0 by Apache Hive 0: jdbc:hive2://hostname.c> You might have already connected. try command show databases;
... View more
02-06-2014
02:34 PM
This is not helpful. Last thing, in the log, do you see incoming connections?
... View more
02-06-2014
02:19 PM
I saw previously: Unable to login to kerberos with given principal/keytab, which made me assume you had kerberos turned on. It's better to test beeline connection without kerberos on. Could you check your hiverserver2 log?
... View more
02-06-2014
01:43 PM
Could you check this to see if it helps? http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.1/CDH4-Security-Guide/cdh4sg_topic_9_1.html
... View more
02-06-2014
01:26 PM
It looks like that your hive-site.xml specified kerberos authentication. You need to specify principal in your url, such as beeline -u jdbc:hive2://host:port;pricipal=principal_name principal_name is specified in hive-site.xml. Also, before you connect, you need to do kerberos kinit to get authentication token. I suggest you turn off authentication first and make sure you can connect to your server. Then, turn on authentication back.
... View more
02-06-2014
12:40 PM
Could you try "beeline -u jdbc:hive2://" to see if this work for you?
... View more
02-06-2014
12:29 PM
Could you try not specifying the driver class and let the system take the default?
... View more