Sanil15 commented on a change in pull request #1219: SAMZA-2373: [SEP-22] 
Container Placement Service (core functionality) for container move and restart
URL: https://github.com/apache/samza/pull/1219#discussion_r371040979
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerAllocator.java
 ##########
 @@ -202,12 +202,9 @@ void assignResourceRequests() {
       String preferredHost = hostAffinityEnabled ? request.getPreferredHost() 
: ResourceRequestState.ANY_HOST;
       Instant requestCreationTime = request.getRequestTimestamp();
 
-      LOG.info("Handling assignment request for Processor ID: {} on host: 
{}.", processorId, preferredHost);
+      LOG.info("Handling assignment for request {}", request);
       if (hasAllocatedResource(preferredHost)) {
 
-        // Found allocated container on preferredHost
-        LOG.info("Found an available container for Processor ID: {} on the 
host: {}", processorId, preferredHost);
 
 Review comment:
   note: hasAllocatedResource(...) already logs this line so this is not userful

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