1.1.7. Setup Kerberos JAAS Configuration for Ambari

If you want to set up JAAS configuration for Ambari so that independent access to native Hadoop GUIs like the NameName UI are secure, use the Apache community docs to setup your configurations, and then do the following:

  1. Log into the Ambari server host.

    [Important]Important

    Ambari Server should not be running when you do this: either make the edits before you start Ambari Server the first time or bring the server down to make the edits.

  2. Run the special setup command and answer the prompts:

    ambari-server setup-security
    1. Select 5 for Setup Ambari kerberos JAAS configuration.

    2. Enter the Kerberos principal name for the Ambari server you set up here.

    3. Enter the path to the keytab for Ambari's principal.

    4. Restart Ambari Server:

      ambari-server restart

loading table of contents...