There are no errors/messages regarding the login attempt in hiveserver2.log, that is, the attempt is not reflecting in the logs at all. Could it be failing at a step before actually hitting hive?
... View more
We have a kerberized cluster with Jupyterhub installed on one of the edge nodes. When trying to lauch beeline using zookeeper service discovery mode on a jupyterhub terminal, we ge the below error: Error: Could not open client transport for any of the Server URI's in ZooKeeper: Unable to read HiveServer2 uri from ZooKeeper (state=08S01,code
=0) When using a beeline connection string to hit the hiveserver2 directly (HTTP mode), we get the following error: java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://managenode1:10001/default;transportMode= http;httpPath=cliservice;principal=hive/_HOST@GLOBAL.REALM;: Could not create http connection to jdbc:hive2://managenode1:10001/default;transportMode=http;httpPath=cliservice;principal=hive/_HOST@GLOBAL.REALM;. org.apache.http.client.ClientProtocolException at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:231) . . Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt) I have a kerberos ticket created and I am able to query HDFS filesystem and launch hive shell from the same terminal. The beeline connection strings used are also correct, since we are able to login to beeline using these strings when connecting to the server directly via Putty. It is only on the beeline terminal that we are facing this issue. Any suggestions?
... View more