[
https://issues.apache.org/jira/browse/FLINK-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lim Chee Hau updated FLINK-7000:
--------------------------------
Description:
I was doing some local testings in {{Scala}} environment, however I found that
there is no straightforward way to add custom configuration to
{{StreamExecutionEnvironment}} by using {{createLocalEnvironment}} method.
This could be easily achieve in {{Java}} environment since
{{StreamExecutionEnvironment}} in {{Java}} has
- {{createLocalEnvironment()}}
- {{createLocalEnvironment(Int)}}
- {{createLocalEnvironment(Int, Configuration)}}
Whereas Scala only has 2 out of 3 of these methods.
Not sure if this is a missing implementation, if yes I could create a PR for
this.
Therefore the example in [Local
Execution|https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/local_execution.html]
could be making sense for Scala users as well:
bq. The LocalEnvironment allows also to pass custom configuration values to
Flink.
was:
I was doing some local testings in {{Scala}} environment, however I found that
there is no straightforward way to add custom configuration to
{{StreamExecutionEnvironment}} by using {{createLocalEnvironment}} method.
This could be easily achieve in {{Java}} environment since
{{StreamExecutionEnvironment}} in {{Java}} has
- createLocalEnvironment()
- createLocalEnvironment(Int)
- createLocalEnvironment(Int, Configuration)
Whereas Scala only has 2 out of 3 of these methods.
Not sure if this is a missing implementation, if yes I could create a PR for
this.
Therefore the example in [Local
Execution|https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/local_execution.html]
could be making sense for Scala users as well:
...
The LocalEnvironment allows also to pass custom configuration values to
Flink.
...
> Add custom configuration for StreamExecutionEnvironment#createLocalEnvironment
> ------------------------------------------------------------------------------
>
> Key: FLINK-7000
> URL: https://issues.apache.org/jira/browse/FLINK-7000
> Project: Flink
> Issue Type: Improvement
> Reporter: Lim Chee Hau
>
> I was doing some local testings in {{Scala}} environment, however I found
> that there is no straightforward way to add custom configuration to
> {{StreamExecutionEnvironment}} by using {{createLocalEnvironment}} method.
> This could be easily achieve in {{Java}} environment since
> {{StreamExecutionEnvironment}} in {{Java}} has
> - {{createLocalEnvironment()}}
> - {{createLocalEnvironment(Int)}}
> - {{createLocalEnvironment(Int, Configuration)}}
> Whereas Scala only has 2 out of 3 of these methods.
> Not sure if this is a missing implementation, if yes I could create a PR for
> this.
> Therefore the example in [Local
> Execution|https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/local_execution.html]
> could be making sense for Scala users as well:
> bq. The LocalEnvironment allows also to pass custom configuration values to
> Flink.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)