drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deneche A. Hakim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3167) When a query fails, Foreman should wait for all fragments to finish cleaning up before sending a FAILED state to the client
Date Tue, 30 Jun 2015 18:33:05 GMT

     [ https://issues.apache.org/jira/browse/DRILL-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Deneche A. Hakim updated DRILL-3167:
------------------------------------
    Attachment: DRILL-3267.3.patch.txt

Fixed QueryManager and ControlMessageHandler to properly handle errors when canceling fragments

> When a query fails, Foreman should wait for all fragments to finish cleaning up before
sending a FAILED state to the client
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-3167
>                 URL: https://issues.apache.org/jira/browse/DRILL-3167
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>             Fix For: 1.2.0
>
>         Attachments: DRILL-3167.1.patch.txt, DRILL-3267.2.patch.txt, DRILL-3267.3.patch.txt
>
>
> TestDrillbitResilience.foreman_runTryEnd() exposes this problem intermittently
> The query fails and the Foreman reports the failure to the client which removes the results
listener associated to the failed query. 
> Sometimes, a data batch reaches the client after the FAILED state already arrived, the
client doesn't handle this properly and the corresponding buffer is never released.
> Making the Foreman wait for all fragments to finish before sending the final state should
help avoid such scenarios.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message