GitHub user rsltrifork opened a pull request:
https://github.com/apache/flink/pull/6288
[FLINK-9703] [flink-mesos] Expose Prometheus port for TM through Mesos
## What is the purpose of the change
To enable Task Managers, when set up by mesos, to expose a port for
Prometheus monitoring.
## Brief change log
- If "metrics.reporter.prom.port' is configured, make sure mesos assigns
a port for it.
## Verifying this change
*(Please pick either of the following options)*
This change is already covered by existing tests, such as *(please describe
tests)*.
*(or)*
## 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: yes
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Safetrack/flink FLINK-9703
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6288.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 #6288
----
commit ca55557651ca9164d3611d2dfc3f1ce934a6f9ae
Author: Rune Skou Larsen <rsl@...>
Date: 2018-07-09T11:54:51Z
[FLINK-9703] Expose Prometheus port for TM through Mesos
----
---