java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Could not open connection to jdbc:hive2://host66:10000/defult;principal=bdp/admin@NBDP.COM;kerberosAuthType=fromSubject: GSS initiate failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via sourceforge.net by Unknown author, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Could not open connection to jdbc:hive2://host66:10000/defult;principal=bdp/admin@NBDP.COM;kerberosAuthType=fromSubject: GSS initiate failed
via sourceforge.net by Unknown author, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Could not open connection to jdbc:hive2://host66:10000/defult;principal=bdp/admin@NBDP.COM;kerberosAuthType=fromSubject: GSS initiate failed
via Stack Overflow by woopi
, 2 years ago
java.lang.RuntimeException: java.sql.SQLException: ERROR 103 (08004): Unable to establish connection.
via Stack Overflow by lcazarre
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to create connection. Check your URL.
via Stack Overflow by ratsstack
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to create connection. Check your URL.
via GitHub by sundeepkmr
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to connect to database
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Could not open connection to jdbc:hive2://host66:10000/defult;principal=bdp/admin@NBDP.COM;kerberosAuthType=fromSubject: GSS initiate failed
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:230)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:306)
at org.apache.hive.service.auth.TSubjectAssumingTransport$1.run(TSubjectAssumingTransport.java:51)
at org.apache.hive.service.auth.TSubjectAssumingTransport$1.run(TSubjectAssumingTransport.java:48)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hive.service.auth.TSubjectAssumingTransport.open(TSubjectAssumingTransport.java:48)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:200)
at org.apache.hive.jdbc.HiveConnection.(HiveConnection.java:177)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.