Configuring custom Kerberos principal for Oozie

The Kerberos principal for Ozone 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. In Cloudera Manager, click Clusters > Oozie.
  2. Go to the Configuration tab.
  3. Search for the Kerberos Principal by entering "kerberos" in the search field.
  4. For Kerberos Principal, enter your custom principal value.
  5. Click Save Changes.
  6. Click Actions and select Restart to restart the service.

Setting proxy configurations in the oozie-site.xml file

If the Kerberos principal name is customized for a Knox service having a default service user name, perform the following procedure to set the proxy configurations in the oozie-site.xml file:

  1. In Cloudera Manager, click Clusters > Oozie.
  2. Go to the Configuration tab.
  3. Search for Oozie-site.
  4. For Oozie Server Advanced Configuration Snippet (Safety Valve) for oozie-site.xml, set the following proxy configurations:
    • oozie.service.ProxyUserService.proxyuser.<knox_principal_name>.groups = <list of allowed groups>
    • oozie.service.ProxyUserService.proxyuser.<knox_principal_name>.hosts = <list of allowed hosts>

    where <knox_principal_name> is the value of the Kerberos Principal in the Knox service. Select Clusters > Knox > Configuration and search for Kerberos Principal to display this value.

  5. Click Save Changes.
  6. Click Actions and select Restart to restart the service.