Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
avatar
Cloudera Employee

STEP 1

Configure cluster for Tez View

  1. Enable ATS by : yarn.timeline-service.enabled=true

    Enable following yarn setting:

    yarn.resourcemanager.system-metrics-publisher.enabled=true

    yarn.timeline-service.webapp.address=IP:PORT of ATS

  2. Enable following core-site setting

hadoop.proxyuser.ambari-server.groups=*

hadoop.proxyuser.ambari-server.hosts=*

Kerberize Ambari-server

  1. Create a principal in your KDC for the Ambari Server. For example, using kadmin:
    addprinc -randkey ambari-server@HADOOP.GCSKDC.CORP.APPLE.COM
  2. Generate a keytab for that principal.
    xst -k ambari.server.keytab ambari-server@HADOOP.GCSKDC.CORP.APPLE.COM
  3. 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
  4. Stop the ambari server.
    ambari-server stop
  5. Run the setup-security command.
    ambari-server setup-security
  6. Select 3 for Setup Ambari kerberos JAAS configuration.
  7. Enter the Kerberos principal name for the Ambari Server you set up earlier.
  8. Enter the path to the keytab for the Ambari principal.
  9. Restart Ambari Server.
    ambari-server restart

STEP 2

Set up Tez View

  1. 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

658 Views
0 Kudos