You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Sahil Takiar (Jira)" <ji...@apache.org> on 2019/12/10 16:02:00 UTC

[jira] [Created] (IMPALA-9229) Link runtime profiles from failed and retried queries

Sahil Takiar created IMPALA-9229:
------------------------------------

             Summary: Link runtime profiles from failed and retried queries
                 Key: IMPALA-9229
                 URL: https://issues.apache.org/jira/browse/IMPALA-9229
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Sahil Takiar


There should be a way for clients to link the runtime profiles from failed queries to all retry attempts (whether successful or not), and vice versa.

There are a few ways to do this:
 * The simplest way would be to include the query id of the retried query in the runtime profile of the failed query, and vice versa; users could then manually create a chain of runtime profiles in order to fetch all failed / successful attempts
 * Extend TGetRuntimeProfileReq to include an option to fetch all runtime profiles for the given query id + all retry attempts (or add a new Thrift call TGetRetryQueryIds(TQueryId) which returns a list of retried ids for a given query id)
 * The Impala debug UI should include a simple way to view all the runtime profiles of a query (the failed attempts + all retry attempts) side by side (perhaps the query_profile?query_id profile should include tabs to easily switch between the runtime profiles of each attempt)

These are not mutually exclusive, and it might be good to stage these changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)