You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2017/02/13 01:59:41 UTC

[jira] [Commented] (DRILL-5257) Provide option to save query profiles sync, async or not at all

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

Paul Rogers commented on DRILL-5257:
------------------------------------

For now, implemented a boot-time configuration option:

{code}
drill.exec.foreman.profile: "async" // Or "sync" or "none"
{code}

The code only checks the first letter, so "a", "s" and "n" are fine also, as are any other spelling that starts with these letters.

> Provide option to save query profiles sync, async or not at all
> ---------------------------------------------------------------
>
>                 Key: DRILL-5257
>                 URL: https://issues.apache.org/jira/browse/DRILL-5257
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.10
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Minor
>             Fix For: 1.10
>
>
> DRILL-5123 improved perceived query performance by writing the query profile after sending a final response to the client. This is the desired behaviors in most situations. However, some tests want to verify certain results by reading the query profile from disk. Doing so works best when the query profile is written before returning the final query results.
> This ticket requests that the timing if the query profile writing be configurable.
> * Sync: write profile before final client response.
> * Async: write profile after final client response. (Default)
> * None: don't write query profile at all
> A config option (boot time? run time?) should control the option. A boot-time option is fine for testing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)