[
https://issues.apache.org/jira/browse/FLINK-8698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369064#comment-16369064
]
ASF GitHub Bot commented on FLINK-8698:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/5524
[FLINK-8698] [flip6] Use Flip-6 MiniCluster for local
(Stream)ExecutionEnvironment
## What is the purpose of the change
Instantiate the Flip-6 `MiniCluster` in the local
`(Stream)ExecutionEnvironment` if the Flip-6 mode is enabled. This allows to
run Flink jobs on the Flip-6 components from within the IDE.
## Brief change log
- Return `Flip6LocalStreamEnvironment` from
`StreamExecutionEnvironment#createLocalEnvironment` if Flip-6 is enabled
- Start Flip-6 `MiniCluster` in `LocalExecutor` if Flip-6 is enabled
## Verifying this change
- Tested manually
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink flip6LocalEnvironment
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5524.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 #5524
----
commit c6f03dca654bbf7a0ad77c0575a0591a940e5f1d
Author: Till Rohrmann <trohrmann@...>
Date: 2018-02-19T11:00:08Z
[FLINK-8698] [flip6] Use Flip6LocalStreamEnvironment instead of
LocalStreamEnvironment
commit 4d2401e293d33d7d0174e1005d6002bc0870ce72
Author: Till Rohrmann <trohrmann@...>
Date: 2018-02-19T11:41:41Z
[FLINK-8698] [flip6] Let LocalExecutor use Flip-6 MiniCluster
----
> Use Flip-6 MiniCluster in Local(Stream)Environment
> --------------------------------------------------
>
> Key: FLINK-8698
> URL: https://issues.apache.org/jira/browse/FLINK-8698
> Project: Flink
> Issue Type: Improvement
> Components: Client
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Major
> Labels: flip-6
> Fix For: 1.5.0
>
>
> When creating a {{Local(Stream)Environment}} we should instantiate the Flip-6
> {{MiniCluster}} if the Flip-6 mode is enabled. That way we will also run
> Flink jobs from the IDE on the Flip-6 {{MiniCluster}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)