"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 12.2.1.1.0 to 12.2.1.3.0 [Release 12c]
Generic Linux

Symptoms

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)
  ...

Changes

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 

Cause

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