Creating or Editing a Tez View Instance
Depending on whether you must create a new Tez View instance for a manually deployed cluster or modify an Ambari-created Tez View, using one of the following procedures:
To modify a Tez View instance on an Ambari-managed cluster:
Steps
- Browse to the Ambari Admin interface. 
- Click Views and expand the Tez View. 
- On the Create Instance page, change the appropriate configuration parameters. 
- Select Local Ambari-Managed Cluster: ![[Important]](../common/images/admon/important.png) - Important - Secure clusters that use wire encryption (SSL/TSL) cannot use the Local Ambari Managed Cluster option. Instead you must configure the view manually. 
- Click Save, grant Permissions on the view , then click Go to instance to use the view. 
To create a new Tez View instance for a manually-deployed cluster:
Steps
- Browse to the Ambari Admin interface. 
- Click Views, expand the Tez View, and click Create Instance. 
- On the Create Instance page, select the Version. 
- Enter the Details (required). The Instance Name appears in the URI, the Display Name appears in the Views drop-down list, and the Description helps multiple users identify the view. 
- Scroll down to the Cluster Configuration, verify that Custom is checked and enter the following values, which tell the Tez View how to access resources in the cluster: - Table 2.6. Cluster Configuration Values for Tez View in Ambari - Property - Value - YARN Timeline Server URL (required) - The URL to the YARN Application Timeline Server, used to provide Tez information. Typically, this is the - yarn.timeline-service.webapp.addressproperty that is specified in the- etc/hadoop/conf/yarn-site.xml.- When you enter the value in the view definition, pre-pend "http://" to the value you find in the yarn-site.xml file. For example, - http://<timeline server host>:8188- For wire encryption-enabled clusters: - Set this based on the value of - yarn.timeline-service.webapp.https.addressin- yarn-site.xml- When you enter the value in the view definition, pre-pend "https://" to the value. For example, - https://<timeline server host>:8190- YARN ResourceManager URL (required) - The URL to the YARN ResourceManager, used to provide YARN Application data. Typically, this is the - yarn.resourcemanager.webapp.addressproperty that is specified in the- etc/hadoop/conf/yarn-site.xml.- When you enter the value in the view definition, pre-pend "http://" to the value you find in the yarn-site.xml file. For example, - http://<resourcemanager host>:8088- Important: If YARN ResourceManager HA is enabled, provide a comma-separated list of URLs for all the Resource Managers. - For wire encryption-enabled clusters: - Set this based on the value of - yarn.resourcemanager.webapp.https.addressin- yarn-site.xml- When you enter the value in the view definition, pre-pend "https://" to the value. For example, - https://<resourcemanager host>:8090
- Click Save and grant Permissions on the view. 
- At the top of the view instance configuration page, click Go to instance. 
- When your browser is at the view instance page, copy the URL for the Tez View from your browser address bar: 
- In - tez-site.xml, specify the URL that you copied in Step 8 as the value for the tez.tez-ui.history-url.base property, and save the file.
- Restart the HiveServer2 daemon to make sure that your changes to - tez-site.xmltake effect.
| ![[Important]](../common/images/admon/important.png) | Important | 
|---|---|
| If your cluster is configured for Kerberos, you must set up Ambari Server for Kerberos for the Tez View to access the ATS component. | 
More Information



