rmatharu commented on a change in pull request #1417:
URL: https://github.com/apache/samza/pull/1417#discussion_r473226673
##########
File path:
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerProcessManager.java
##########
@@ -472,6 +479,9 @@ void
onResourceCompletedWithUnknownStatus(SamzaResourceStatus resourceStatus, St
LOG.info("Container ID: {} for Processor ID: {} failed with exit code:
{}.", containerId, processorId, exitStatus);
Instant now = Instant.now();
state.failedContainers.incrementAndGet();
+ if (state.perProcessorFailureCount.get(processorId) != null) {
+ state.perProcessorFailureCount.get(processorId).incrementAndGet();
+ }
Review comment:
else {
Log.error("Unknown/orphan container") ??
}
----------------------------------------------------------------
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]