coheigea commented on a change in pull request #11463: FLINK-16697 - Disable 
JMX rebinding
URL: https://github.com/apache/flink/pull/11463#discussion_r398026981
 
 

 ##########
 File path: 
flink-metrics/flink-metrics-jmx/src/main/java/org/apache/flink/metrics/jmx/JMXReporter.java
 ##########
 @@ -518,9 +525,13 @@ private void startJmxService(int port) throws IOException 
{
                                throw new IllegalArgumentException("Malformed 
service url created " + serviceUrl, e);
                        }
 
-                       connector = 
JMXConnectorServerFactory.newJMXConnectorServer(url, null, 
ManagementFactory.getPlatformMBeanServer());
+                       rmiServer = new RMIJRMPServerImpl(port, null, null, 
null);
 
 Review comment:
   I'm not sure about this.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to