[
https://issues.apache.org/jira/browse/FLINK-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540771#comment-16540771
]
ASF GitHub Bot commented on FLINK-9488:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/6315
[FLINK-9488] Add container entry point StandaloneJobClusterEntryPoint
## What is the purpose of the change
The StandaloneJobClusterEntryPoint is the basic entry point for containers.
It is started with
the user code jar in its classpath and the classname of the user program.
The entrypoint will
then load this user program via the classname and execute its main method.
This will generate
a JobGraph which is then used to start the MiniDispatcher.
This PR creates a new `flink-container` module.
cc @GJL
## Verifying this change
- Added `StandaloneJobClusterEntryPointTest` and
`StandaloneClusterConfigurationParserFactoryTest`
## 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)`: (no)
- 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
standaloneJobClusterEntryPoint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6315.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 #6315
----
commit b798af824433657ca215f8598112094a23819ee0
Author: Till Rohrmann <trohrmann@...>
Date: 2018-07-11T15:30:53Z
[hotfix] Make PackagedProgram(Class<?>, String...) constructor public
commit d373b6b01ec9d5b63513718a8e6b7db87629a477
Author: Till Rohrmann <trohrmann@...>
Date: 2018-07-11T15:41:27Z
[FLINK-9818] Add cluster component command line parser
The cluster component command line parser is responsible for parsing the
common command line
arguments with which the cluster components are started. These include the
configDir, webui-port
and dynamic properties.
commit 2526bcc69ff4eb3d196a4a7ceba2e59a7f455922
Author: Till Rohrmann <trohrmann@...>
Date: 2018-07-09T21:54:55Z
[FLINK-9488] Add container entry point StandaloneJobClusterEntryPoint
The StandaloneJobClusterEntryPoint is the basic entry point for containers.
It is started with
the user code jar in its classpath and the classname of the user program.
The entrypoint will
then load this user program via the classname and execute its main method.
This will generate
a JobGraph which is then used to start the MiniDispatcher.
----
> Create common entry point for master and workers
> ------------------------------------------------
>
> Key: FLINK-9488
> URL: https://issues.apache.org/jira/browse/FLINK-9488
> Project: Flink
> Issue Type: Sub-task
> Components: Distributed Coordination
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> To make the container setup easier, we should provide a single cluster entry
> point which uses leader election to become either the master or a worker
> which runs the {{TaskManager}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)