jeongyooneo commented on a change in pull request #20: [NEMO-76] Rename
TaskGroup to Task
URL: https://github.com/apache/incubator-nemo/pull/20#discussion_r189455280
##########
File path:
runtime/common/src/main/java/edu/snu/nemo/runtime/common/state/TaskState.java
##########
@@ -89,15 +80,22 @@ public StateMachine getStateMachine() {
*/
public enum State {
READY,
- // PENDING_IN_EXECUTOR and EXECUTING states are only managed in executor.
- PENDING_IN_EXECUTOR,
EXECUTING,
COMPLETE,
FAILED_RECOVERABLE,
FAILED_UNRECOVERABLE,
ON_HOLD, // for dynamic optimization
}
+ /**
+ * Causes of a recoverable failure.
+ */
+ public enum RecoverableFailureCause {
+ INPUT_READ_FAILURE, // Occurs when a task is unable to read its input block
+ OUTPUT_WRITE_FAILURE, // Occurs when a task successfully generates its
output, but is able to write it
Review comment:
able -> unable
----------------------------------------------------------------
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