You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nemo.apache.org by GitBox <gi...@apache.org> on 2018/05/21 15:03:15 UTC

[GitHub] johnyangk opened a new pull request #21: [NEMO-46] Make the operations on ExecutorRegistry atomic

johnyangk opened a new pull request #21: [NEMO-46] Make the operations on ExecutorRegistry atomic
URL: https://github.com/apache/incubator-nemo/pull/21
 
 
   JIRA: [NEMO-46: Make the operations on ExecutorRegistry atomic](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-46)
   
   **Major changes:**
   - Make ExecutorRegistry thread-safe
   - Create many failures in FaultToleranceTest#testTaskReexecutionForFailure, instead of a single failure
   
   **Minor changes to note:**
   - Track per-task attempts
   - Ignore all task state changes for previous task attempts, instead of only in `onTaskExecutionFailedRecoverable()`, to guard against transitions like READY(attempt 2)->COMPLETED(attempt 1)
   - Replace SCHEDULE_ATTEMPT_ON_CONTAINER_FAILURE = Integer.MAX_VALUE with a proper attempt index
   
   **Tests for the changes:**
   - FaultToleranceTest#testTaskReexecutionForFailure
   
   **Other comments:**
   - N/A
   
   resolves [NEMO-46](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-46)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services