eaglewatcherwb commented on issue #7560: [FLINK-11344][webfrontend] display all 
execution attempts on web
URL: https://github.com/apache/flink/pull/7560#issuecomment-462019922
 
 
   @greghogan The pictures below are the before and after screenshots. I run 
the word count job with parallelism 2 and inject an error in the first attempt 
of Reduce(1/2).
   
![image](https://user-images.githubusercontent.com/42056379/52517528-9be95000-2c77-11e9-9cbc-884622a97fc4.png)
   
![image](https://user-images.githubusercontent.com/42056379/52517693-e8ce2600-2c79-11e9-85fb-a16b273a49d4.png)
   
   I insert the code before `invokable.invoke();` in `Task#run` of Task.java to 
create failed jobs:
   ```
   if (taskInfo.getTaskName().contains("Reduce") && 
taskInfo.getIndexOfThisSubtask() == 0
       && taskInfo.getAttemptNumber() == 0) {
       throw new RuntimeException("crash");
    }
   ```
   
![image](https://user-images.githubusercontent.com/42056379/52517718-5a0dd900-2c7a-11e9-909b-cb2ed0ce841a.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to