Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17388

Spark Stats for the WebUI Query Plan

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Later
    • None
    • None
    • Web UI
    • Patch

    Description

      Click on a Spark stage in the WebUI/Drilldown/Query Plan graph, and Spark task progress as well as the log file path will be displayed if hive.server2.webui.show.stats=true. If the task is successful, SparkStatistics will also be shown.
      Screenshots attached are from a run on a CDH cluster.

      Issues:

      • SparkStatistics aren't shown if task fails or is running.
      • Will need rebasing after HIVE-17300 is committed (current patch includes HIVE-17300 changes)
      • Will need testing upstream.

      Suggestion

      • It would be really easy to incorporate a progress bar to follow Spark progress, with only a few tweaks to the JavaScript in:
        service/src/resources/hive-webapps/static/js/query-plan-graph.js

      Attachments

        1. success_3.png
          432 kB
          Karen Coppage
        2. success_2.png
          377 kB
          Karen Coppage
        3. success_1.png
          233 kB
          Karen Coppage
        4. running_2.png
          370 kB
          Karen Coppage
        5. running_1.png
          233 kB
          Karen Coppage
        6. HIVE-17388.patch
          700 kB
          Karen Coppage

        Activity

          People

            klcopp Karen Coppage
            klcopp Karen Coppage
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: