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

Jacques Nadeau commented on DRILL-2993:
---------------------------------------

We should be consuming all messages already.  Why would we need to change 
throttling to consume messages?  Throttling doesn't kick in unless we're not 
consuming messages.  We should fix that instead.

The server should only send messages as fast as the client can consume them so 
we don't get memory growth.  

> SQLLine hangs when we cancel a query in the middle of displaying results
> ------------------------------------------------------------------------
>
>                 Key: DRILL-2993
>                 URL: https://issues.apache.org/jira/browse/DRILL-2993
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Rahul Challapalli
>            Assignee: Daniel Barclay (Drill)
>         Attachments: DRILL-2993.1.patch.txt
>
>
> git.commit.id.abbrev=8c706e6
> The data set contains 1 million records. I cancelled the below query after 
> displaying around ~400,000 records. All subsequent queries fail
> {code}
> 0: jdbc:drill:schema=dfs_eea>select * from `mobile.json`;
> .....
> .....
> Cancel after displaying 400,000 records
> 0: jdbc:drill:schema=dfs_eea>use dfs.drillTestDir;
> ....
> This hangs indefinitely
> {code}
> Since the data is large, I did not attach it.



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

Reply via email to