My Oracle Support Banner

"driver could not establish a connection using Kerberos (type 4) integrated security: Configuration Error" when Connecting to a Kerberos Protected Hadoop Cluster or MS SQL Server in ODI (Doc ID 2042462.1)

Last updated on AUGUST 12, 2019

Applies to:

Oracle Data Integrator - Version 12.1.3.0.1 and later
Information in this document applies to any platform.

Symptoms

NOTE: In this article, all configuration details like server names, usernames, instance names, schema names, domain names, etc. used in the images and examples below represent a fictitious sample for clarity or are default installation values. These and any value placeholder values including the <> which may surround the placeholders should be replaced by the actual values used in your environment. Any similarity to actual environments, past or present, or users, living or dead, is purely coincidental and not intended in any manner.

 

After Kerberos has been configured on a production Cluster, Oracle Data Integrator (ODI ) 12c is no longer able to connect to that Cluster.

Using the WebLogic DataDirect JDBC Driver (wlhive.jar):

jdbc:weblogic:hive://hostname:10000;databaseName=default;AuthenticationMethod=kerberos;ServicePrincipalName=hive/hiveServer2Host@EXAMPLE.COM

... the connection test (using Local No Agent) fails with:

java.sql.SQLException: [FMWGEN][Hive JDBC Driver]A username was not specified and the driver could not establish a connection using Kerberos (type 4) integrated security: Configuration Error:
  Line 3: expected [option value]
  at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:144)
  at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:73)
  at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1243)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:199)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$400(SnpsDialogTestConnet.java:58)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$5.doInBackground(SnpsDialogTestConnet.java:650)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$5.doInBackground(SnpsDialogTestConnet.java:646)
  at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
  at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:947)
  at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLException: [FMWGEN][Hive JDBC Driver]A username was not specified and the driver could not establish a connection using Kerberos (type 4) integrated security: Configuration Error:
  Line 3: expected [option value]:

 Note similar error can be seen with Kerberos protected MS SQL Server.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.