You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2020/09/01 07:08:00 UTC

[jira] [Commented] (IMPALA-9872) Profile log does not include profiles of failed queries

    [ https://issues.apache.org/jira/browse/IMPALA-9872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188190#comment-17188190 ] 

Quanlong Huang commented on IMPALA-9872:
----------------------------------------

Hi [~tarmstrong], if you mean appending the compressed profile to files under the "$LOG_DIR/profiles/" dir, we already do this for the original query by calling ImpalaServer::CloseClientRequestState() on the original instance. It will finally calls ImpalaServer::ArchiveQuery() to log the profile of the original query.

Calltrace:
{code:java}
QueryDriver::RetryQueryFromThread
  ImpalaServer::CloseClientRequestState
    ImpalaServer::ArchiveQuery
{code}

> Profile log does not include profiles of failed queries
> -------------------------------------------------------
>
>                 Key: IMPALA-9872
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9872
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Backend
>            Reporter: Tim Armstrong
>            Priority: Major
>              Labels: supportability
>
> As far as I can tell, ImpalaServer::ArchiveQuery() only logs the profile for the last run of the query. We should also include the profiles of failed attempts at the query in the profile log.
> [~stigahuang]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org