Big Data Job failing on 'java.lang.IllegalArgumentException: Server has invalid Kerberos principal'

Problem Description

A Big Data Job fails with the following Kerberos exception:

java.lang.IllegalArgumentException: Server has invalid Kerberos principal

 

Root Cause

The configuration or server details are not correct.

 

Solution

Ensure that all of these values in the context and krb5.conf/ini files are correct. Run kinit and verify that the domain and user are correct.

 

In this case, the context file had three equal (=) signs instead of two as they were using in the implicit context file. After this was fixed, the Job ran successfully.

Version history
Revision #:
6 of 6
Last update:
‎04-17-2019 09:16 AM
Updated by: