[ 
https://issues.apache.org/jira/browse/FLINK-15918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031002#comment-17031002
 ] 

Lakshmi Rao commented on FLINK-15918:
-------------------------------------

Just adding to what [~thw]  and [~shriya_a] mentioned, our users today get 
alerted on the uptime metric being zero. If the metric is not reset (which 
would mean we don't have time periods of it being zero when the job is not 
running), then it may mean that our users don't get alerts for when their job 
is down. 

> Uptime Metric not reset on Job Restart
> --------------------------------------
>
>                 Key: FLINK-15918
>                 URL: https://issues.apache.org/jira/browse/FLINK-15918
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.9.2, 1.10.0
>            Reporter: Gary Yao
>            Priority: Major
>             Fix For: 1.10.1, 1.11.0
>
>
> *Description*
> The {{uptime}} metric is not reset when the job restarts, which is a change 
> in behavior compared to Flink 1.8.
> This change of behavior exists since 1.9.0 if 
> {{jobmanager.execution.failover-strategy: region}} is configured,
> which we do in the default flink-conf.yaml.
> *Workarounds*
> Users that find this behavior problematic can set {{jobmanager.scheduler: 
> legacy}} and unset {{jobmanager.execution.failover-strategy: region}} in 
> their {{flink-conf.yaml}}
> *How to reproduce*
> trivial
> *Expected behavior*
> This is up for discussion. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to