Sanil15 commented on a change in pull request #1152: SAMZA-2319: Simplify 
Container Allocation logic
URL: https://github.com/apache/samza/pull/1152#discussion_r327387615
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/AbstractContainerAllocator.java
 ##########
 @@ -35,20 +35,35 @@
 
 /**
  * {@link AbstractContainerAllocator} makes requests for physical resources to 
the resource manager and also runs
- * a processor on an allocated physical resource. Sub-classes should override 
the assignResourceRequests()
- * method to assign resource requests according to some strategy.
+ * a processor on an allocated physical resource.
  *
- * See {@link ContainerAllocator} and {@link HostAwareContainerAllocator} for 
two such strategies
+ * In case of host-affinity enabled, each request ({@link 
SamzaResourceRequest} encapsulates the identifier of the processor
 
 Review comment:
   I copied docs from the previous classes, but I see your point, used your 
suggestions & added more details to explain it better, please check again

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