[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to