flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sihua Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-9468) get outputLimit of LimitedConnectionsFileSystem incorrectly
Date Fri, 01 Jun 2018 01:13:00 GMT

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

Sihua Zhou updated FLINK-9468:
------------------------------
    Priority: Critical  (was: Blocker)

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

Mime
View raw message