Tez details page
A Tez application can have multiple Hive queries. Each Hive query is represented in a DAG. The Tez applications details page provides a comprehensive view of the behavior of Hive queries on Tez applications. Each hive query can be drilled to its corresponding DAGs (Directed Acyclic Graphs).
The Tez details page displays the details of both the Live Long and Process (LLAP) and the non-LLAP queries for Tez apps.
![tez-details-main.png](image/uuid-78e502c1-eeda-2f08-7296-62ebed93b95d.png)
From the Tez details page, you can monitor the following KPIs of a hive query:
DAGs: Successful, failed, and killed DAGs on an hourly basis.
Duration: Total time taken by the query.
Data I/O: Total data read and written by the query.
Database: Name of the database.
Tez App details
When you open a Tez app details page, the following details of the application are displayed on the upper section of the Tez details page.
![tez_apms_upper-4791.png](image/uuid-a30f27f4-0428-c08f-97c4-d042775861f5.png)
Item No. | Description |
---|---|
1 | Name or ID of the Tez application. |
2 | Details of the Tez app owner, cluster ID, cluster name, and Queue. |
3 | Icons that indicate an issue or tuning suggestions for the Tez app. |
4 | Status indicator for the Tez app. Displays whether the app was successful, failed, or killed. |
5 | Start time of the application run. End time of the application run. Duration of the application run. |
6 | Indicates the navigation drill-down into each DAG. The DAG ID is displayed. You can click |
7 | Duration of the Tez application/Hive query Data input/output of the Tez app/Hive query Start time of the Hive query as indicated for each DAG. End time of the Hive query as indicated for each DAG. Link to the Hive query details. |
The following tabs are visible on the right section of the Tez details page:
The resources contain the following charts:
![resources-tab-tez-details-page.gif](image/uuid-1eb6f2a4-f7ec-c60a-6156-c16a6562dbad.gif)
Containers: Graphs the number of containers used for the query execution in a Tez app.
vCores Graphs the vCores used for running the Hive queries in a Tez app.
Memory: Graphs the memory used for running the jobs.
Metrics: The details of the following metrics of the application are plotted in a graph:
OS Memory
CPU Utilization
Java Memory
Click Get Data to get the raw data of the graph.
Warning
The data on the Resources tab is populated for Tez applications if their duration is greater than or equal to 90 seconds. If the application duration is less than 90 seconds, then the data might not be populated for such applications, depending on the Resource Manager polling cycle.
This tab lists the diagnostics messages received from the Yarn resource manager.
Note
For failed or killed apps, check the Errors tab to view error messages.
![diagnostics-tez-details-page.gif](image/uuid-2e8e37e6-88a0-b248-fd70-0b475292728b.gif)
This tab lists the tags used in the Tez application. Refer to Tagging.
![4790-tags-tab-Tez-details-page.png](image/uuid-5dcda31e-78c9-fec6-1241-46ff3c9b35e6.png)
This tab lists all the configurations that are set for Hive queries.
![configuration-tez-details-page.gif](image/uuid-b82cda00-12ce-0faa-61f4-c90b1500b847.gif)
This tab lists the errors that you encounter during the job run.
![error-tez-details-page.gif](image/uuid-6280c8a8-98d7-d3d7-423a-ec125dc54747.gif)
From this tab, you can view the logs.
On the right, a bar graph is shown, where each bar represents a one-hour aggregation of a batch of hive queries. To view the graph:
![hive_query_graph.png](image/uuid-7e33b09f-e0bd-a772-4fc4-1af8f9e16bc1.png)
From the drop-down, select one of the following criteria for aggregation of the hive query batch:
Duration
I/O
DAGs
From the adjacent drop-down, select the type of aggregation:
Min
Max
Avg
Adjust the slider to an interval, and move it on the graph to view the trending bars of the hive queries in the timeline. By default, the slider is set to a default of one day with an interval of an hour.
DAG details
The following tabs are displayed on the right side when you open a Tez app details page:
After the Hive queries graph, the list of DAGs is displayed. Each DAG represents a hive query. Select a DAG, and the following tabs are shown on the right with extensive details about the query:
This tab displays the same information as the Analysis tab for the app; however, here, this analysis is done for an individual hive query.
Displays the complete hive query that was run.
![tezapms-dag-query.png](image/uuid-2a81f19d-3060-df98-4963-83ebb2b8c5cc.png)
This tab is displayed when there is an error during the query run or when the query fails or is killed. The corresponding error messages are displayed from this tab.
![tezapms-dag-diagnostics.png](image/uuid-d04fe5a7-c4c1-1e8c-c9b8-51ca667bd636.png)
The DAG metrics and their corresponding values are listed in this tab.
![tezapms-dag-counters.png](image/uuid-3effaadc-1b8b-0781-e48c-f8246cf272c4.png)
The graph represents how the query processes were organized and how the query was run. This is shown with vertices and their relationship with each other. Click a vertex, and the task details are displayed.
![tezapms-dag-graph.png](image/uuid-3ae57899-f113-6993-9162-a6762620108c.png)
Displays the timeline for all tasks. The task time can be displayed in both Wall Clock time and Total Run time. Hover over the task to display the information in the text.
![tezapms-dag-timeline.png](image/uuid-b5c4d270-acff-d2d6-4e36-c694721f50ca.png)
List each vertex, the start and end time of each vertex, the duration of the run, the total task in a vertex, and the corresponding successful, failed, and killed tasks. You can use the search box to search the vertices.
![tezapms-dag-allvertices.png](image/uuid-fb55d5e0-8135-cd79-5e70-a77d435badbc.png)
Lists all tasks, their status (failed, success, etc.), the corresponding vertex name, the start and end of the task, and the duration of each task. The tasks are searchable by Task ID and Vertex name; Tasks containing the string will be displayed.
![tezapms-dag-alltasks.png](image/uuid-fb17a597-0563-22de-e1c1-aa024af2e71a.png)
List all attempts, their status (failed, success, etc.), vertex name, and other relevant information. The task attempts are searchable by Attempt ID, Task ID, and Vertex name; Task attempts containing the string will be displayed.
![tezapms-dag-alltaskattempts.png](image/uuid-88563b45-4973-21ac-2f5a-4fe6a81c544c.png)
Graphically and textually note the number of task attempts and their status. The donut graphs show the percentage of successful (green), failed (orange), and killed (red) tasks.
![tezapms-dag-taskattemps.png](image/uuid-a64052eb-11e5-e6a5-75dd-de286de7426b.png)
Lists all the configurations that were changed while running the hive query, along with their corresponding values.
![tezapms-changed-configurations.png](image/uuid-52b9965b-cff0-96ad-fb6e-9ee9dc553c67.png)