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 Fri, 07 Jul 2017 13:44:00 GMT

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

ASF GitHub Bot commented on FLINK-6058:

Github user aljoscha commented on the issue:

    @zjureel It seems `CliFrontendRunTest` fails because the expected parallelism is not `-1`
anymore https://travis-ci.org/apache/flink/jobs/251014376. After fixing this, let's see if
any other tests fail.

> 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