azagrebin commented on a change in pull request #9105: 
[FLINK-13241][Yarn/Mesos] Fix Yarn/MesosResourceManager setting managed memory 
size into wrong configuration instance.
URL: https://github.com/apache/flink/pull/9105#discussion_r304325881
 
 

 ##########
 File path: 
flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/MesosResourceManager.java
 ##########
 @@ -200,7 +200,7 @@ public MesosResourceManager(
 
                final ContaineredTaskManagerParameters 
containeredTaskManagerParameters = 
taskManagerParameters.containeredParameters();
                this.slotsPerWorker = 
updateTaskManagerConfigAndCreateWorkerSlotProfiles(
-                       flinkConfig, 
containeredTaskManagerParameters.taskManagerTotalMemoryMB(), 
containeredTaskManagerParameters.numSlots());
+                       this.flinkConfig, 
containeredTaskManagerParameters.taskManagerTotalMemoryMB(), 
containeredTaskManagerParameters.numSlots());
 
 Review comment:
   Which tests cover this change?
   How much effort would it be to add tests to e.g. `MesosResourceManagerTest`?

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