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