Member since
02-18-2016
1
Post
0
Kudos Received
0
Solutions
08-10-2016
07:15 PM
The issue with beeline access to hive when using Kerberos, is that we need to use the "right principal" in the connection string - and it MUST be hive's principal.
1. So you must explicitly do a kinit and grab a valid ticket from Kerberos.
2. After you have a valid ticket - you can use the following URL to connect using beeline:
beeline -u "jdbc:hive2://<hive_server_name>:10000/<db_name>;principal=hive/<hostname>@<realm_name> This will do the trick.
... View more