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 12:18:00 UTC

[jira] [Updated] (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 updated DRILL-8139:
--------------------------------
    Description: 
Update: PARQUET-2126 has been opened to describe the underlying thread safety problem in parquet-mr.

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.
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

  was:
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.
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


> 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
>            Priority: Blocker
>
> Update: PARQUET-2126 has been opened to describe the underlying thread safety problem in parquet-mr.
> 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.
> 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



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