You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2022/02/17 13:33:00 UTC

[jira] [Assigned] (DRILL-8139) Data corruption and occasional segfaults querying Parquet/gzip under the async column reader and sync page reader

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

James Turton reassigned DRILL-8139:
-----------------------------------

    Assignee: James Turton

> Data corruption and occasional segfaults querying Parquet/gzip under the async column reader and sync page reader
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-8139
>                 URL: https://issues.apache.org/jira/browse/DRILL-8139
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Parquet
>    Affects Versions: 1.19.0
>            Reporter: James Turton
>            Assignee: James Turton
>            Priority: Blocker
>         Attachments: recording.mp4
>
>
> Update: PARQUET-2126 has been opened to describe the underlying thread safety problem in parquet-mr.  The rdblue/brotli-codec is also affected.
> In previously released versions of Drill, back to at least 1.17, this bug only appears under the combination of the async column reader and the _sync_ page reader, as per the reproduction script below.  In master, the bug appears under the async column reader and both the sync and async page readers.
> {code:java}
> set `store.parquet.compression` = 'gzip';
> drop table if exists dfs.tmp.m;
> create table dfs.tmp.m as select * from cp.`tpch/supplier.parquet`;
> set `store.parquet.reader.pagereader.async` = false;
> set `store.parquet.reader.columnreader.async` = true;
> select * from dfs.tmp.m order by s_suppkey; – repeat this last query and watch the returned data. Eventually you will also failed queries or JVM crashes
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)