hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Bacsko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15822) zstd compressor can fail with a small output buffer
Date Fri, 05 Oct 2018 20:59:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640338#comment-16640338

Peter Bacsko commented on HADOOP-15822:

[~jlowe] what strange coincidence. I was also testing zstandard today and set {{mapreduce.task.io.sort.mb}}
to 2047, which is the max I guess. Now the mapper was running on a 10GiB zstd compressed text
file and then failed. The {{equator}} became a negative number and {{collect()}} threw {{ArrayIndexOutOfBoundsException}}.
Mapper output compression was also enabled, probably that's what really matters here. It failed
after like 40 minutes.

I'm not sure whether it's zstd or not, because I haven't had the time to try it with other
codecs, but it's something worth keeping in mind.

> zstd compressor can fail with a small output buffer
> ---------------------------------------------------
>                 Key: HADOOP-15822
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15822
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.9.0, 3.0.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Major
>         Attachments: HADOOP-15822.001.patch, HADOOP-15822.002.patch
> TestZStandardCompressorDecompressor fails a couple of tests on my machine with the latest
zstd library (1.3.5).  Compression can fail to successfully finalize the stream when a small
output buffer is used resulting in a failed to init error, and decompression with a direct
buffer can fail with an invalid src size error.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message