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

Till Rohrmann resolved FLINK-9468.
----------------------------------
    Resolution: Fixed

Fixed via
1.5.1: 144eb9999ba8cdf42133ba0a3db3d7cb1ca181be
1.6.0: 1ea02a99847938b3f3d837e23c7d366dd97e1563

> get outputLimit of LimitedConnectionsFileSystem incorrectly
> -----------------------------------------------------------
>
>                 Key: FLINK-9468
>                 URL: https://issues.apache.org/jira/browse/FLINK-9468
>             Project: Flink
>          Issue Type: Bug
>          Components: FileSystem
>    Affects Versions: 1.5.0
>            Reporter: Sihua Zhou
>            Assignee: Sihua Zhou
>            Priority: Critical
>             Fix For: 1.6.0, 1.5.1
>
>
> In {{LimitedConnectionsFileSystem#createStream}}, we get the outputLimit 
> incorrectly.
> {code:java}
> private <T extends StreamWithTimeout> T createStream(
>       final SupplierWithException<T, IOException> streamOpener,
>       final HashSet<T> openStreams,
>       final boolean output) throws IOException {
> final int outputLimit = output && maxNumOpenInputStreams > 0 ? 
> maxNumOpenOutputStreams : Integer.MAX_VALUE;
> /*....*/
> }
> {code}
> should be 
> {code:java}
> private <T extends StreamWithTimeout> T createStream(
>       final SupplierWithException<T, IOException> streamOpener,
>       final HashSet<T> openStreams,
>       final boolean output) throws IOException {
> final int outputLimit = output && maxNumOpenOutputStreams > 0 ? 
> maxNumOpenOutputStreams : Integer.MAX_VALUE;
> /*....*/
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to