You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/01/04 22:28:46 UTC

[jira] [Updated] (DRILL-1442) C++ Client - Synchronous API appears to hang when running many queries in parallel

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

Jacques Nadeau updated DRILL-1442:
----------------------------------
    Fix Version/s: 0.9.0

> C++ Client - Synchronous API appears to hang when running many queries in parallel
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-1442
>                 URL: https://issues.apache.org/jira/browse/DRILL-1442
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>    Affects Versions: 0.5.0
>            Reporter: Parth Chandra
>            Assignee: Parth Chandra
>             Fix For: 0.9.0
>
>
> The C++ client library has a synchronous version that allows a client application to submit multiple queries asynchronously but retrieve results in synchronously.
> A situation may occur where the application may submit several large queries and then choose to process the results of the last submitted query first. In this case the client library buffers up the results of the first few queries and may hit  its memory allocation limit before the last queries results are retrieved. 
> The client app then deadlocks as the last query waits for more memory and the first few queries wait for the app to consume the results.
> Technically this would qualify as a client application bug, but the client library should prevent or break the deadlock if it can.
> At the vary least, the querySubmitter example program should not suffer from this issue.



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