flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6058) Don't read DEFAULT_PARALLELISM from GlobalConfiguration
Date Mon, 10 Jul 2017 09:27:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080061#comment-16080061

ASF GitHub Bot commented on FLINK-6058:

Github user zjureel commented on the issue:

    I have fixed it, thanks @aljoscha 

> Don't read DEFAULT_PARALLELISM from GlobalConfiguration
> -------------------------------------------------------
>                 Key: FLINK-6058
>                 URL: https://issues.apache.org/jira/browse/FLINK-6058
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Aljoscha Krettek
>            Assignee: Fang Yong
> In the constructor of {{StreamContextEnvironment}} we read the {{DEFAULT_PARALLELISM}}
from the {{GlobalConfiguration}}. This assumes that the environment variables are correctly
set and can lead to problems. We should read the default parallelism in the client and set
it in the {{ContextEnvironment}} that it creates. This can then be read by the {{StreamContextEnvironment}}.

This message was sent by Atlassian JIRA

View raw message