azagrebin commented on a change in pull request #10161: [FLINK-13986][runtime] 
Clean up legacy code for FLIP-49.
URL: https://github.com/apache/flink/pull/10161#discussion_r348464208
 
 

 ##########
 File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
 ##########
 @@ -539,20 +544,21 @@ private void requestYarnContainer() {
                        RM_REQUEST_PRIORITY);
        }
 
-       private ContainerLaunchContext createTaskExecutorLaunchContext(Resource 
resource, String containerId, String host)
-                       throws Exception {
+       private ContainerLaunchContext createTaskExecutorLaunchContext(
+               TaskExecutorResourceSpec tmResourceSpec,
 
 Review comment:
   ok, makes sense. then the unused `resource` function parameter should be 
removed and/or it would be nice to have a check that allocated container has at 
least the requested memory as it is basically our assumption.

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