[
https://issues.apache.org/jira/browse/BEAM-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyoungha Min updated BEAM-9325:
-------------------------------
Description:
org.apache.beam.sdk.util.UnownedOutputStream does not override a method
`public void write(byte b[], int off, int len) throws IOException`
resulting in extremely slow writing speed.
This is because `java.io.FilteredOutputStream` does not provide proper method.
The throughput degradation is significant enough to put it as bug.
Anything that uses `UnownedInputStream`, including
`CoderUtils.decodeFromByteArray`, `CoderUtils.decodeFromSafeStream` etc, are
extremely slow.
was:
org.apache.beam.sdk.util.UnownedOutputStream does not override a method
`public void write(byte b[], int off, int len) throws IOException`
resulting in extremely slow writing speed.
This is because `java.io.FilteredOutputStream` does not provide proper method.
Issue Type: Bug (was: Improvement)
> UnownedOutputStream not overriding Array write method.
> ------------------------------------------------------
>
> Key: BEAM-9325
> URL: https://issues.apache.org/jira/browse/BEAM-9325
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Affects Versions: 2.19.0
> Reporter: Kyoungha Min
> Priority: Major
> Fix For: Not applicable
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> org.apache.beam.sdk.util.UnownedOutputStream does not override a method
> `public void write(byte b[], int off, int len) throws IOException`
> resulting in extremely slow writing speed.
> This is because `java.io.FilteredOutputStream` does not provide proper method.
>
> The throughput degradation is significant enough to put it as bug.
>
> Anything that uses `UnownedInputStream`, including
> `CoderUtils.decodeFromByteArray`, `CoderUtils.decodeFromSafeStream` etc, are
> extremely slow.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)