To turn on Kerberos-based security in the Ambari Web GUI you must:
Have already set up Kerberos for your cluster. For more information, see Setting Up Kerberos for Hadoop 2.x.
Go to the Admin tab.
Select Security.
Click Enable Security and follow the Enable Security Wizard.
Get Started: This step just reminds you that you need to set up Kerberos before you start.
Configure Services: This step asks you for your Kerberos information: principals and paths to keytabs, path to your Kerberos tools, realm names and so on. For more information about a specific field, hover over it, and a popup with a definition appears.
Create Principals and Keytabs: Use this step to check that all your information is correct. Click Back to make any changes. Click Apply when you are satisfied with the assignments.
Note If you have a large cluster, you may want to go to the Create Principals and Keytabs step first. Step through the wizard accepting the defaults to get to the appropriage page. On the page, use the Download CSV button to get a list of all the necessary principals and keytabs in CSV form, which can be used to set up a script. The list includes hostname, principal description, principal name, keytab user, keytab group, keytab permissions, absolute keytab path, and keytab filename.
Save and Apply Configuration: This step displays a bar showing the progress of integrating the Kerberos information into your Ambari Server.