public enum VertexTerminationCause extends Enum<VertexTerminationCause>
| Enum Constant and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 nameNullPointerException - if the argument is nullCopyright © 2014 Apache Software Foundation. All rights reserved.