rmatharu commented on a change in pull request #1417:
URL: https://github.com/apache/samza/pull/1417#discussion_r473227782



##########
File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/SamzaApplicationState.java
##########
@@ -115,6 +115,13 @@
    */
   public final ConcurrentHashMap<String, SamzaResourceStatus> failedProcessors 
= new ConcurrentHashMap<>(0);
 
+
+  /**
+   *  Map of the Samza processor ID to the count of failed attempts
+   *  Modified by AMRMCallbackThread
+   */
+  public final ConcurrentMap<String, AtomicInteger> perProcessorFailureCount = 
new ConcurrentHashMap<>(0);
+

Review comment:
       If this information is only useful for metric-emission, does it need to 
be stored in "state" ?
   




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


Reply via email to