public enum VertexTerminationCause extends Enum<VertexTerminationCause>
| Enum Constant and Description |
|---|
AM_USERCODE_FAILURE
This vertex failed as its AM usercode (VertexManager/EdgeManager/InputInitializer)
throw Exception
|
COMMIT_FAILURE
This vertex failed during commit.
|
COUNTER_LIMITS_EXCEEDED
This vertex failed due to counter limits exceeded.
|
DAG_TERMINATED
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.
|
RECOVERY_ERROR
error when writing recovery log
|
ROOT_INPUT_INIT_FAILURE
Initialization failed for one of the root Inputs
|
VERTEX_RERUN_AFTER_COMMIT
In some cases, vertex could not rerun, e.g.
|
VERTEX_RERUN_IN_COMMITTING
Rerun vertex while it is in committing, it would cause conflict.
|
| Modifier and Type | Method and Description |
|---|---|
VertexState |
getFinishedState() |
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_TERMINATED
public static final VertexTerminationCause OTHER_VERTEX_FAILURE
public static final VertexTerminationCause ROOT_INPUT_INIT_FAILURE
public static final VertexTerminationCause AM_USERCODE_FAILURE
public static final VertexTerminationCause OWN_TASK_FAILURE
public static final VertexTerminationCause COMMIT_FAILURE
public static final VertexTerminationCause VERTEX_RERUN_AFTER_COMMIT
public static final VertexTerminationCause VERTEX_RERUN_IN_COMMITTING
public static final VertexTerminationCause INVALID_NUM_OF_TASKS
public static final VertexTerminationCause INIT_FAILURE
public static final VertexTerminationCause INTERNAL_ERROR
public static final VertexTerminationCause RECOVERY_ERROR
public static final VertexTerminationCause COUNTER_LIMITS_EXCEEDED
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 nullpublic VertexState getFinishedState()
Copyright © 2020 Apache Software Foundation. All rights reserved.