GitHub user uce opened a pull request:
https://github.com/apache/flink/pull/2143
[FLINK-4040] [dist] Allow JobManager/TaskManager-specific JVM args
- Adds two new config keys for the start up scripts:
* `env.java.opts.jobmanager`
* `env.java.opts.taskmanager`
- These are used in addition to the regular `env.java.opts` for the
JobManager and TaskManager, respectively.
- Current behaviour is not changed. This does not address the JMX port
setting, because that is handled differently.
In the issue, our ZooKeeper utility script is also mentioned, but I think
that should not be handled within Flink. That's why I did not add a separate
`env.java.opts.zookeeper` key.
@gyfora Can you please review?
---
In general, I've noticed the start up scripts are in a very poor state.
They don't follow a coherent style, are not well documented, and not tested
automatically. Hence, it's easily possible to break them without noticing it in
the scope of our tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/uce/flink 4040-envopts
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2143.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 #2143
----
commit 6ec0c0e23a915f85be9afe49301c068158e494fb
Author: Ufuk Celebi <[email protected]>
Date: 2016-06-21T15:31:22Z
[FLINK-4040] [dist] Allow JobManager/TaskManager-specific JVM args
- Adds two new config keys for the start up scripts:
* env.java.opts.jobmanager
* env.java.opts.taskmanager
- These are used in addition to the regular env.java.opts for the JobManager
and TaskManager, respectively.
- Current behaviour is not changed. This does not address the JMX port
setting, because that is handled differently.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---