walterddr opened a new pull request #11586: [FLINK-5552][runtime] make 
JMXServer static per JVM
URL: https://github.com/apache/flink/pull/11586
 
 
   ## What is the purpose of the change
   
   This is the first step to allow JMXServer information being returned via 
REST API.
   
   ## Brief change log
   
     - Moved JMXServer from JMXReporter private class into flink-runtime.
     - Added new configuration option `jmx.server.port` to allow configuration 
of the jmx server.
     - Launch JMXServer at start of each JMV entry (ClusterEntrypoint & 
TaskManagerRunner)
   
   
   ## Verifying this change
   
   This change is already covered by existing tests, such as 
     - flink-runtime/tests
     - flink-metrics-reporter-jmx/tests/
   
   This change added tests and can be verified as follows:
     - JMXReporterTests checks that there's only one singleton JMXServer being 
created across multiple JMXReporter.
   
   
   ## 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, Kubernetes/Yarn/Mesos, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? yes
     - If yes, how is the feature documented? docs
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to