hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karen Coppage <>
Subject Review Request 61663: WebUI query plan graphs
Date Tue, 15 Aug 2017 15:37:28 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive, Peter Vary and Xuefu Zhang.

Repository: hive-git


I’m working on a feature of the Hive WebUI Query Plan tab that would provide the option
to display the query plan as a nice graph (scroll down for screenshots). If you click on one
of the graph’s stages, the plan for that stage appears as text below.
Stages are color-coded if they have a status (Success, Error, Running), and the rest are grayed
out. Coloring is based on status already available in the WebUI, under the Stages tab.
There is an additional option to display stats for MapReduce tasks. This includes the job’s
ID, tracking URL (where the logs are found), and mapper and reducer numbers/progress, among
other info.
The library I’m using for the graph is called vis.js ( It has an Apache
license, and the only necessary file to be included from this library is about 700 KB.
I tried to keep server-side changes minimal, and graph generation is taken care of by the
client. Plans with more than a given number of stages (default: 25) won't be displayed in
order to preserve resources.


  common/src/java/org/apache/hadoop/hive/common/ 0a3e0c7201 
  common/src/java/org/apache/hadoop/hive/conf/ 056f2d7834 
  ql/src/java/org/apache/hadoop/hive/ql/ 4e7c80f184 
  ql/src/java/org/apache/hadoop/hive/ql/ 4b6051485e 
  ql/src/java/org/apache/hadoop/hive/ql/ 5bf22107dc 
  ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ 3c0719717c 
  ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ 1bd4db7805 
  service/src/jamon/org/apache/hive/tmpl/QueryProfileTmpl.jamon 5e2d68c4a4 
  service/src/java/org/apache/hive/service/servlet/ 27a3b1423a 
  service/src/resources/hive-webapps/static/css/query-plan-graph.css PRE-CREATION 
  service/src/resources/hive-webapps/static/js/query-plan-graph.js PRE-CREATION 
  service/src/resources/hive-webapps/static/js/vis.min.js PRE-CREATION 




Karen Coppage

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message