phet commented on code in PR #4077:
URL: https://github.com/apache/gobblin/pull/4077#discussion_r1858105668


##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/yarn/YarnService.java:
##########
@@ -440,7 +430,7 @@ public synchronized boolean 
requestTargetNumberOfContainers(int numContainers, S
     LOGGER.info("Trying to set numTargetContainers={}, in-use helix instances 
count is {}, container map size is {}",
         numContainers, inUseInstances.size(), this.containerMap.size());
 
-    requestContainers(numContainers, 
Resource.newInstance(defaultContainerMemoryMbs, defaultContainerCores));
+    requestContainers(numContainers, 
Resource.newInstance(defaultContainerMemoryMbs, defaultContainerCores), 
Optional.absent());

Review Comment:
   (WRT the enclosing method...)
   
   does it need to be `public`?  also, if it's only used by 
`requestInitialContainers` we might name it thus.  on the other hand, why 
special case the reading from `config`, rather than doing 
`WorkerProfile.getConfig`?



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

To unsubscribe, e-mail: dev-unsubscr...@gobblin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to