rmatharu commented on a change in pull request #1104: SAMZA-2266: Introduce a 
backoff when there are repeated failures for host-affinity allocations
URL: https://github.com/apache/samza/pull/1104#discussion_r303534571
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerProcessManager.java
 ##########
 @@ -524,10 +468,125 @@ public void 
onStreamProcessorLaunchFailure(SamzaResource resource, Throwable t)
    */
   @Override
   public void onError(Throwable e) {
-    log.error("Exception occurred in callbacks in the Cluster Resource 
Manager", e);
+    LOG.error("Exception occurred in callbacks in the Cluster Resource 
Manager", e);
     exceptionOccurred = e;
   }
 
+  /**
+   * Called within {@link #onResourceCompleted(SamzaResourceStatus)} for 
unknown exit statuses. Usually these type of
+   * exit statuses are due to application errors causing the container 
resource to fail or for other unknown reasons.
 
 Review comment:
   Nitpick:
   These exit statuses correspond to container completion other than container 
run-to-completion, abort or preemption, or disk failure (e.g., detected by 
YARN's NM healthchecks).

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