walterddr commented on a change in pull request #13356:
URL: https://github.com/apache/flink/pull/13356#discussion_r491471146



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/TaskExecutorRegistration.java
##########
@@ -72,13 +77,15 @@ public TaskExecutorRegistration(
                        final String taskExecutorAddress,
                        final ResourceID resourceId,
                        final int dataPort,
+                       final int jmxPort,
                        final HardwareDescription hardwareDescription,
                        final TaskExecutorMemoryConfiguration 
memoryConfiguration,
                        final ResourceProfile defaultSlotResourceProfile,
                        final ResourceProfile totalResourceProfile) {
                this.taskExecutorAddress = checkNotNull(taskExecutorAddress);
                this.resourceId = checkNotNull(resourceId);
                this.dataPort = dataPort;
+               this.jmxPort = jmxPort;

Review comment:
       hmm. I understand your concern. and putting an opaque Map<String, 
String> would definitely be safer. 
   
   could you elaborate what you meant by "just bundle them in container"? do 
you mean putting everything in the Map<String, String> container? 




----------------------------------------------------------------
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]


Reply via email to