You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/28 15:05:12 UTC
[jira] [Commented] (FLINK-3776) Flink Scala shell does not allow to
set configuration for local execution
[ https://issues.apache.org/jira/browse/FLINK-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262096#comment-15262096 ]
ASF GitHub Bot commented on FLINK-3776:
---------------------------------------
GitHub user eastcirclek opened a pull request:
https://github.com/apache/flink/pull/1945
[FLINK-3776] Flink Scala shell does not allow to set configuration fo…
The current version of FlinkShell creates a new Configuration object when creating a LocalFlinkMiniCluster in FlinkShell.fetchConnectionInfo().
Instead of creating a new one, FlinkShell just needs to get a configuration object which was already created when GlobalConfiguration.loadConfiguration() is called (which is before FlinkShell.fetchConnectionInfo() is called).
Therefore, just one line modification figures out this issue as shown in this pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eastcirclek/flink FLINK-3776
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1945.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1945
----
commit 3debae60917fd656c23a7221456a44b20fb81d71
Author: eastcirclek <ea...@gmail.com>
Date: 2016-04-28T12:48:59Z
[FLINK-3776] Flink Scala shell does not allow to set configuration for local execution
----
> Flink Scala shell does not allow to set configuration for local execution
> -------------------------------------------------------------------------
>
> Key: FLINK-3776
> URL: https://issues.apache.org/jira/browse/FLINK-3776
> Project: Flink
> Issue Type: Improvement
> Components: Scala Shell
> Affects Versions: 1.1.0
> Reporter: Till Rohrmann
> Priority: Minor
>
> Flink's Scala shell starts a {{LocalFlinkMiniCluster}} with an empty configuration when the shell is started in local mode. In order to allow the user to configure the mini cluster, e.g., number of slots, size of memory, it would be good to forward a user specified configuration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)