sanha commented on a change in pull request #112: [NEMO-179] Delayed Task
Cloning
URL: https://github.com/apache/incubator-nemo/pull/112#discussion_r211810367
##########
File path:
runtime/master/src/main/java/edu/snu/nemo/runtime/master/PlanStateManager.java
##########
@@ -204,23 +221,62 @@ private void initializeComputationStates() {
return taskAttemptsToSchedule;
}
- private boolean isTaskNotDone(final TaskState taskState) {
- final TaskState.State state = (TaskState.State)
taskState.getStateMachine().getCurrentState();
- return state.equals(TaskState.State.READY)
- || state.equals(TaskState.State.EXECUTING)
- || state.equals(TaskState.State.ON_HOLD);
+ public synchronized Set<String> getAllTaskAttemptsOfStage(final String
stageId) {
Review comment:
Please add some comments.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services