impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Robinson (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-XXXX: Add per-fragment information to debug webpage
Date Tue, 07 Jun 2016 00:01:22 GMT
Henry Robinson has uploaded a new patch set (#2).

Change subject: IMPALA-XXXX: Add per-fragment information to debug webpage
......................................................................

IMPALA-XXXX: Add per-fragment information to debug webpage

(I'm sure there's a JIRA for this, still looking for it).

This patch adds two new views to the debug webpages.

1. The first, /fragments, shows all fragments running on a backend.

2. The second is found in the query details view, and lists all
fragments running for a given query across all backends. Since this
might be a very large set (given the cluster size * query fragment
complexity), the page only shows summarizations by fragment. If a button
under each summary is clicked, the page fetches data for each individual
fragment instance for that fragment from the coordinator.

Right now this is useful for telling if there are stuck fragments
without having to go through the logs to cross-reference the query ID
against fragment IDs.

No fragment information is available after a query ends. We should
consider archiving fragment information in the QueryStateRecord, but I
think that needs some refactoring before we do that.

This patch relies on upgraded version of Bootstrap, and JQuery,
introduced in another patch.

Change-Id: I1d995da50c3a119b7aaf04d6f87e60e9e573a5ed
---
M be/src/runtime/coordinator.cc
M be/src/runtime/coordinator.h
M be/src/service/fragment-mgr.cc
M be/src/service/fragment-mgr.h
M be/src/service/impala-server-callbacks.cc
M be/src/service/impala-server.cc
M be/src/service/impala-server.h
M www/common-header.tmpl
A www/fragments.tmpl
M www/query_detail_tabs.tmpl
A www/query_fragments.tmpl
11 files changed, 330 insertions(+), 37 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/23/3323/2
-- 
To view, visit http://gerrit.cloudera.org:8080/3323
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1d995da50c3a119b7aaf04d6f87e60e9e573a5ed
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Henry Robinson <henry@cloudera.com>

Mime
View raw message