RunOnSpark sanity check queries cannot instantiate FileAccess - Aster Analytics

Teradata AsterĀ® Spark Connector User Guide

Product
Aster Analytics
Release Number
7.00.00.01
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
dbt1482959363906.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
dbt1482959363906
lifecycle
previous
Product Category
Software
Problem: During preparation for installation, RunOnSpark sanity check queries fail with this error message:
SQL-MR function RUNONSPARK failed: cannot instantiate FileAccess
The SQL-MapReduce log of each failing query has:
java.io.IOException: Login failure for sparkJobSubmitter@namenode from keytab /home/beehive/config/spark/namenode/sparkJobSubmitter.keytab: javax.security.auth.login.LoginException: Cannot locate KDC 7 at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:976) 8 at com.asterdata.ncluster.sqlmr.RunOnSpark.FileAccess.init(FileAccess.java:82) ...

Reason: The /etc/krb5.conf file on the Aster queen node is incompatible with the /etc/krb5.conf file on the target Hadoop node.

Solution: As the root user:
  1. On the Aster queen node, change the /etc/krb5.conf so that its default_realm and realms entries include the default_realm and realms entries of the target Hadoop node.
  2. Clone the changed /etc/krb5.conf file to the Aster vworkers:
    ncli node clonefile /etc/krb5.conf