"Unable to obtain Principal Name for authentication" Error Received when Starting a Scenario with ODI using Kerberos

(Doc ID 2405829.1)

Last updated on JUNE 21, 2018

Applies to:

Oracle Data Integrator - Version to [Release 12c]
Generic Linux


In Oracle Data Integrator (ODI) 12.2.1, the following Kerberos error was returned when attempting to start a scenario with the ODI startscen script:

Caused By: org.apache.bsf.BSFException: exception from Groovy: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getJDBCConnection("DEST") : [FMWGEN][Hive JDBC Driver]A username was not specified and the driver could not establish a connection using Kerberos (type 4) integrated security: Unable to obtain Principal Name for authentication
  at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:114)
  at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:396)


Kerberos was configured using the following note:

<Document 2067655.1> - How To Set the Connection to HIVE Using the New Data Direct Driver and Kerberos Authentication 


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms