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

Steven Zhen Wu edited comment on FLINK-15918 at 2/5/20 6:26 PM:
----------------------------------------------------------------

quote an answer from our user, which is similar to what Thomas said.

```

to detect a job that is not running. the reason to use uptime is to catch the 
case where the job is continually restarting, so it is mostly “up”, but never 
for a long time

```


was (Author: stevenz3wu):
quote an answer from our user, which is similar to what Thomas said.

``` to detect a job that is not running. the reason to use uptime is to catch 
the case where the job is continually restarting, so it is mostly “up”, but 
never for a long time```

> 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