Skip to content

Commit

Permalink
[FLINK-3776] Flink Scala shell does not allow to set configuration fo…
Browse files Browse the repository at this point in the history
…r local execution

This closes apache#1945
  • Loading branch information
eastcirclek authored and mxm committed May 13, 2016
1 parent 3c90d36 commit 099fdfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ object FlinkShell {
): (String, Int, Option[Either[FlinkMiniCluster, AbstractFlinkYarnCluster]]) = {
config.executionMode match {
case ExecutionMode.LOCAL => // Local mode
val config = new Configuration()
val config = GlobalConfiguration.getConfiguration()
config.setInteger(ConfigConstants.JOB_MANAGER_IPC_PORT_KEY, 0)

val miniCluster = new LocalFlinkMiniCluster(config, false)
Expand Down

0 comments on commit 099fdfa

Please sign in to comment.