RunOnSpark sanity check queries fail with /usr/bin/spark-submit error code 255 - 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: RunOnSpark sanity check queries fail with:
SQL-MR function RUNONSPARK failed: com.asterdata.ncluster.sqlmr.ClientVisibleException: The command /usr/bin/spark-submit failed with error Code: 255
Aster vworkers' /home/beehive/config/spark/*/IDENTITYFILE is owned by beehive.
Possible Reason: In Red Hat, CentOS, and Fedora, the line Defaults requiretty in the file /etc/sudoers is causing this line in the generated script AsterSpark*_queen.sh to fail:
ncli node runonother sudo /bin/chown extensibility\:extensibility /home/beehive/config/spark/*/IDENTITYFILE
Solution: On each Teradata Aster vworker, run:
chown extensibility\:extensibility /home/beehive/config/spark/*/IDENTITYFILE