@ighack You can try below workaround.
Do any of the following:
Use yarn-client mode for the SparkAction
OR
Still use yarn-cluster mode, however, add the submitting user's keytab on to a secure HDFS location and rewrite the workflow as shown:
<file>hdfs://xxx/yyy.keytab#zzz.keytab</file>
<spark-opts>--keytab zzz.keytab --principal zzz@YOUR_REALM</spark-opts>
Cheers!
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.