Configure the Spark history server
On a Kerberos-enabled cluster, the Spark history server daemon must have a Kerberos account and keytab.
When you enable Kerberos for a Hadoop cluster with Ambari, Ambari configures Kerberos for the Spark history server and automatically creates a Kerberos account and keytab for it. Ambari configures the Spark history server permissions such that Admin users can see the history of all Spark jobs, and other users can only see the history of jobs they submitted. To customize these settings – for example, to add Admin users – select Spark2 > Configs > Custom spark2-defaults in Ambari.