Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • None
    • None
    • ghx-label-12

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              stakiar Sahil Takiar
              stakiar Sahil Takiar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: