@ighack You can try below workaround.
Do any of the following:
Use yarn-client mode for the SparkAction
Still use yarn-cluster mode, however, add the submitting user's keytab on to a secure HDFS location and rewrite the workflow as shown:
<spark-opts>--keytab zzz.keytab --principal zzz@YOUR_REALM</spark-opts>
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.