AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]

Problem

Jobs, especially the system_check_job, are not executed and failing with the following error message. 

Error message

[system] WARN [<timestamp>] [MrPlanRunnerV2] (Client.java:680) - Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]
[system] INFO [<timestamp>] [MrPlanRunnerV2] (MixedClusterSession.java:53) - Committing 0 nested sessions for MixedClusterSession{tempJobOutput=hdfs://nameservice1/user/datameer/temp/job-<id>, finalJobOutput=hdfs://nameservice1/user/datameer/systemjobs/<configurationID>/<jobID>}.
[system] WARN [<timestamp>] [MrPlanRunnerV2] (Client.java:680) - Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]
[system] WARN [<timestamp>] [MrPlanRunnerV2] (MrPlanRunnerV2.java:132) - Failed to write additional job metadata
java.lang.RuntimeException: java.io.IOException: Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]; Host Details : local host is: "<hostname>/<ip>"; destination host is: "<hostname>":8020

Cause

The Kerberos configuration on the Datameer Administration tab under Hadoop Cluster may not be configured correctly. 

Solution

  • Review Kerberos related configurations within the Datameer client.
  • Update any necessary configurations. 
  • Restart the Datameer service.