[
https://issues.apache.org/jira/browse/FLINK-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927578#comment-15927578
]
fang yong commented on FLINK-6058:
----------------------------------
Read default parallelism from ContextEnviroment sounds good. But what makes me
contradictory is whether there should be a method such as setDefaultParallelism
and the client can set the value manually?
> 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
> Priority: Blocker
> Fix For: 1.3.0
>
>
> 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.3.15#6346)