[
https://issues.apache.org/jira/browse/SAMZA-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Chen updated SAMZA-408:
-----------------------------
Attachment: SAMZA-408.0.patch
Attaching an initial patch. The changes are as follows:
* Add a new metric {{job-healthy}} that emits 1 if the job is healthy or 0
otherwise
* Add a new field {{jobHealthy}} field to SamzaAppMasterState that is set to
{{true}} by default
* Set {{jobHealthy}} to false whenever the count of failed containers is
incremented and wherever {{state.status}} is set to
{{FinalApplicationStatus.FAILED}}
RB: https://reviews.apache.org/r/25522/
> Expose a metric for tracking AM availability
> --------------------------------------------
>
> Key: SAMZA-408
> URL: https://issues.apache.org/jira/browse/SAMZA-408
> Project: Samza
> Issue Type: Improvement
> Components: container
> Affects Versions: 0.8.0
> Reporter: Chinmay Soman
> Assignee: David Chen
> Fix For: 0.8.0
>
> Attachments: SAMZA-408.0.patch
>
>
> We have a metric for tracking number of containers running. But we don't have
> anything to indicate if the job is healthy. This translates to the AM along
> with all the containers must be running.
> Expose a "healthy" metric: It should be 1 if the AM and all containers are
> running. 0 otherwise.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)