Configuring custom Kerberos principal for HDFS

The Kerberos principal for HDFS 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. Log in to Cloudera Manager as an Administrator.
  2. Go to Clusters > HDFS service > Configuration and search for the Kerberos Principal by entering "kerberos" in the search field.
  3. Enter the custom Kerberos principal in the Kerberos Principal field.

    This Kerberos principal short name is used by all the roles of HDFS.

  4. Click Save Changes and restart the HDFS service.