Place that keytab on the Ambari Server host. Be sure to set the file permissions so the user running the Ambari Server daemon can access the keytab file.
/etc/security/keytabs/ambari.server.keytab
Stop the ambari server.
ambari-server stop
Run the setup-security command.
ambari-server setup-security
Select 3 for Setup Ambari kerberos JAAS configuration.
Enter the Kerberos principal name for the Ambari Server you set up earlier.
Enter the path to the keytab for the Ambari principal.
Restart Ambari Server.
ambari-server restart
STEP 2
Set up Tez View
Kerberos Setup for Tez Views
yarn.timeline-service.http-authentication.proxyuser.${ambari principal name}.hosts=*
yarn.timeline-service.http-authentication.proxyuser.${ambari principal name}.users=*
yarn.timeline-service.http-authentication.proxyuser.${ambari principal name}.groups=*
2. Replace latest Tez view jar into /var/lib/ambari-server/resources/views/
either of the following
tez-view-2.4.3.0.30.jar - Ambari 2.4.3
tez-view-2.5.1.0.159.jar - Ambari 2.5.1
You should get following Tez UI with Ambari 2.5.1 jar