Hive on Spark Query Details
The Hive on Spark Query Details page provides detailed information about a selected query, including execution trends, resource utilization, diagnostics, recommendations, and the query plan.
Navigation
- In the Pulse UI, select Analytics from the left navigation menu.
- Select Hive on Spark > Queries.
- Select a Query ID to open the Hive on Spark Query Details page.
Summary
The Summary panel provides an overview of the query execution.
Query Information
- User — User who executed the query.
- State — Query state, such as Created, Initialized, Compiled, Running, Finished, Exception, or Unknown.
Execution Details
- Duration — Query execution time.
- Start Time — Time when query execution started.
- End Time — Time when query execution ended.
- jvmGCTime — Time spent by the JVM performing garbage collection.
I/O Metrics
- Bytes Read — Number of bytes read across the query stages.
- Bytes Written — Number of bytes written across the query stages.
- Shuffle Bytes Read — Number of bytes read during shuffle operations.
- Shuffle Bytes Written — Number of bytes written during shuffle operations.
Query Trends
The Query Trends panel displays query execution and resource utilization trends over time.
- Elapsed Time — Time taken to execute the query.
- VCores — Number of VCores consumed during query execution.
- Memory — Amount of memory consumed during query execution.
Compare Runs
Use Compare Runs to compare the current query with previous runs.
You can select up to 10 previous runs for comparison. Metrics that differ between the selected runs are highlighted and displayed at the top of the comparison results.
Recommendations
The Recommendations panel displays recommendations available for improving the query.
Query
The Query panel displays the executed query along with the associated Joins and Table Name.
YARN Diagnostics
The YARN Diagnostics panel provides diagnostic information related to the YARN application associated with the query.
MapReduce Stats
The MapReduce Stats panel provides MapReduce statistics associated with the query execution.
Query Execution Metrics
The Query Execution Metrics section includes the Core Usage by Locality chart. It displays the percentage of Core Used and Core Wasted for the following locality types:
- Process Local — Tasks run in the same process as the source data.
- Node Local — Tasks run on the same node as the source data.
- Rack Local — Tasks run in the same rack as the source data.
- Any — Tasks run outside the source data's node or rack.
- No pref — Tasks have no locality preference.
- Idle — Tasks that are idle.
Query Plan and DAG
The Query Plan provides a logical representation of how the query is executed across different stages. The query plan is displayed in JSON format.

Have a suggestion?