vjagadish1989 commented on a change in pull request #903: SEP-19: Allocator
changes for standby-aware container allocation, and active container failover
URL: https://github.com/apache/samza/pull/903#discussion_r259467856
##########
File path:
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerProcessManager.java
##########
@@ -484,5 +497,13 @@ private String getPendingContainerId(String resourceId) {
return null;
}
+ private void handleContainerStop(String containerID, String resourceID,
String preferredHost, int exitStatus) {
+ if (standbyContainerManager.isPresent()) {
+ standbyContainerManager.get().handleContainerStop(containerID,
resourceID, preferredHost, exitStatus, containerAllocator);
Review comment:
Can the allocator instance be passed in to the standbyContainerManager
during construction?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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