[
https://issues.apache.org/jira/browse/HADOOP-15822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640338#comment-16640338
]
Peter Bacsko edited comment on HADOOP-15822 at 10/5/18 8:58 PM:
----------------------------------------------------------------
[~jlowe] what a 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.
was (Author: pbacsko):
[~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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]