[ https://issues.apache.org/jira/browse/FLINK-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059070#comment-16059070 ]
ASF GitHub Bot commented on FLINK-6058: --------------------------------------- Github user zjureel commented on the issue: https://github.com/apache/flink/pull/3921 @zentol Thank you for your comment, I have fixed the problem you metioned. Could you please review the new commit when you are free? Thanks > 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 (v6.4.14#64029)