1.2. Deploying the Tez View

To deploy the Tez View, you must first configure Ambari for Tez, and then configure Tez to make use of the Tez View in Ambari.

  1. Configure Ambari for Tez.

    1. From the Ambari Administration interface, browse to the Views section.

    2. Click to expand the Tez view and click Create Instance.

    3. Enter the instance name, the display name and description.

    4. Enter the configuration properties for your cluster.

      Property

      Description

      Example

      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.address property in the yarn-site.xml configuration. URL must be accessible from Ambari Server host.

      http://yarn.timeline-service.hostname:8188

      YARN ResourceManager URL (required)

      The URL to the YARN ResourceManager, used to provide YARN Application data. Typically this is the yarn.resourcemanager.webapp.address property in the yarn-site.xml configuration. URL must be accessible from Ambari Server host.

      http://yarn.timeline-service.hostname:8088

      [Important]Important

      As in the following examples, URLs that you provide as properties in the Views configuration for both YARN Timeline Server and YARN ResourceManager

      must

      include "http://" .

    5. Save the View.

  2. Configure Tez to make use of the Tez View in Ambari:

    1. From Ambari > Admin, Open the Tez View, then choose "Go To Instance".

    2. Copy the URL for the Tez View from your web browser's address bar.

    3. Select Services > Tez > Configs.

    4. In custom tez-site, add the following property: Key: tez.tez-ui.history-url.base Value: <Tez View URL> where <Tez View URL> is the the URL you copied from the browser session for the open Tez View.

    5. Restart Tez.

    6. Restart Hive.

For more information about managing Ambari Views, see Managing Views in the Ambari Administration Guide.

[Note]Note

If your cluster is configured for Kerberos,you must set up Ambari Server for Kerberos for the Tez view to access the ATS component. For more information, see Set Up Kerberos for Ambari Server.


loading table of contents...