|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<VertexTerminationCause>
org.apache.tez.dag.app.dag.VertexTerminationCause
public enum VertexTerminationCause
Represents proximate cause of transition to FAILED or KILLED.
| Enum Constant Summary | |
|---|---|
COMMIT_FAILURE
This vertex failed during commit. |
|
DAG_KILL
DAG was killed |
|
INIT_FAILURE
This vertex failed during init. |
|
INTERNAL_ERROR
|
|
INVALID_NUM_OF_TASKS
This vertex failed as it had invalid number tasks. |
|
OTHER_VERTEX_FAILURE
Other vertex failed causing DAG to fail thus killing this vertex |
|
OWN_TASK_FAILURE
One of the tasks for this vertex failed. |
|
ROOT_INPUT_INIT_FAILURE
Initialization failed for one of the root Inputs |
|
| Method Summary | |
|---|---|
static VertexTerminationCause |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VertexTerminationCause[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final VertexTerminationCause DAG_KILL
public static final VertexTerminationCause OTHER_VERTEX_FAILURE
public static final VertexTerminationCause ROOT_INPUT_INIT_FAILURE
public static final VertexTerminationCause OWN_TASK_FAILURE
public static final VertexTerminationCause COMMIT_FAILURE
public static final VertexTerminationCause INVALID_NUM_OF_TASKS
public static final VertexTerminationCause INIT_FAILURE
public static final VertexTerminationCause INTERNAL_ERROR
| Method Detail |
|---|
public static VertexTerminationCause[] values()
for (VertexTerminationCause c : VertexTerminationCause.values()) System.out.println(c);
public static VertexTerminationCause valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||