You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sihua Zhou (JIRA)" <ji...@apache.org> on 2018/06/01 01:13:00 UTC
[jira] [Updated] (FLINK-9468) get outputLimit of
LimitedConnectionsFileSystem incorrectly
[ 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)