Configuring custom Kerberos principal for Spark

The Kerberos principal for Apache Spark is configured by default to use the same service principal as the default process user. However, you can change the default setting by providing a custom principal in Cloudera Manager.

  1. Go to your Cluster in Cloudera Manager.
  2. Select Spark from the list of services.
  3. Go to the Configuration tab.
  4. Search for the Kerberos principal by entering "kerberos" in the search field.
  5. Provide a custom name to the Kerberos Principal property.
  6. Click Save Changes.
  7. Click Actions > Restart next to the Spark service name to restart the service.