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

ASF GitHub Bot commented on FLINK-6043:
---------------------------------------

Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3583#discussion_r107731189
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java
 ---
    @@ -1038,7 +1038,8 @@ private boolean transitionState(ExecutionState 
currentState, ExecutionState targ
                }
     
                if (STATE_UPDATER.compareAndSet(this, currentState, 
targetState)) {
    -                   markTimestamp(targetState);
    +                   long timestamp = System.currentTimeMillis();
    +                   markTimestamp(targetState, timestamp);
    --- End diff --
    
    Can we let `markTimestamp` return the timestamp and move 
`System.currentTimeMillis` back to it?


> Display time when exceptions/root cause of failure happened
> -----------------------------------------------------------
>
>                 Key: FLINK-6043
>                 URL: https://issues.apache.org/jira/browse/FLINK-6043
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>    Affects Versions: 1.3.0
>            Reporter: Till Rohrmann
>            Assignee: Chesnay Schepler
>            Priority: Minor
>
> In order to better understand the behaviour of Flink jobs, it would be nice 
> to add timestamp information to exception causing the job to restart or to 
> fail. This information could then be displayed in the web UI making it easier 
> for the user to understand what happened when.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to