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

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerProcessManager.java
 ##########
 @@ -612,4 +613,14 @@ private String getPendingProcessorId(String containerId) {
   private void handleContainerStop(String processorId, String containerId, 
String preferredHost, int exitStatus, Duration preferredHostRetryDelay) {
     containerManager.handleContainerStop(processorId, containerId, 
preferredHost, exitStatus, preferredHostRetryDelay, containerAllocator);
   }
+
+  public Map<String, SamzaResource> getCurrentRunningContainers() {
+    return state.runningProcessors;
+  }
+
+  // processorId 0,1,2 = current yarn container id not samza container id
+  // preferredHost = fully qualified hostname
+  public void requestMoveContainer(String processorId, String preferredHost) {
 
 Review comment:
   I actually forgot to push a local commit which changes this to 
containerPlacement

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