You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Ravi (JIRA)" <ji...@apache.org> on 2018/12/20 00:53:00 UTC

[jira] [Reopened] (DRILL-6838) Query with Runtime Filter fails with IllegalStateException: Memory was leaked by query

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

Abhishek Ravi reopened DRILL-6838:
----------------------------------

[~weijie] - I am hitting the memory leak again on the latest drill master.

 

The issue not only seen in queries with deeply nested probe side, but also seen on queries that just have simple Hash Join. 


Not only the 2 queries mentioned earlier fail but 2 additional failures.

- [Simple Hash Join on date type field|https://github.com/mapr/drill-test-framework/blob/master/framework/resources/Advanced/runtimefilter/tpch_sf100/parquet/hash_join_date.sql]

- [Simple Hash Join on double type field|https://github.com/mapr/drill-test-framework/blob/master/framework/resources/Advanced/runtimefilter/tpch_sf100/parquet/hash_join_double.sql]

I hit this issue on TPC-H SF 100 dataset

> Query with Runtime Filter fails with IllegalStateException: Memory was leaked by query
> --------------------------------------------------------------------------------------
>
>                 Key: DRILL-6838
>                 URL: https://issues.apache.org/jira/browse/DRILL-6838
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.15.0
>         Environment: Drill 1.15 + PR -> [https://github.com/apache/drill/pull/1504]
>            Reporter: Abhishek Ravi
>            Assignee: weijie.tong
>            Priority: Major
>             Fix For: 1.15.0
>
>         Attachments: RuntimeFilterMemoryLeak.log
>
>
> When running *TPC-H* queries with Runtime Filter feature enabled on DRILL 1.15.0 SNAPSHOT, I saw failures with following error:
> {noformat}
> Error: SYSTEM ERROR: IllegalStateException: Memory was leaked by query. Memory leaked: (1048576)
> Allocator(frag:5:38) 6000000/1048576/77833920/50062914560 (res/actual/peak/limit)
> Fragment 5:38
> Please, refer to logs for more information.
> [Error Id: 2ca07049-ac92-4944-929c-16f261e43f7e on qa-node185.qa.lab:31010] (state=,code=0)
> {noformat}
> The failure is observed when the query has nested joins. (TPC-H query 7 can easily reproduce the issue). I have attached logs for a simpler sample query that fails.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)