org.apache.tez.dag.app.dag
Enum VertexTerminationCause

java.lang.Object
  extended by java.lang.Enum<VertexTerminationCause>
      extended by org.apache.tez.dag.app.dag.VertexTerminationCause
All Implemented Interfaces:
Serializable, Comparable<VertexTerminationCause>

public enum VertexTerminationCause
extends 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

DAG_KILL

public static final VertexTerminationCause DAG_KILL
DAG was killed


OTHER_VERTEX_FAILURE

public static final VertexTerminationCause OTHER_VERTEX_FAILURE
Other vertex failed causing DAG to fail thus killing this vertex


ROOT_INPUT_INIT_FAILURE

public static final VertexTerminationCause ROOT_INPUT_INIT_FAILURE
Initialization failed for one of the root Inputs


OWN_TASK_FAILURE

public static final VertexTerminationCause OWN_TASK_FAILURE
One of the tasks for this vertex failed.


COMMIT_FAILURE

public static final VertexTerminationCause COMMIT_FAILURE
This vertex failed during commit.


INVALID_NUM_OF_TASKS

public static final VertexTerminationCause INVALID_NUM_OF_TASKS
This vertex failed as it had invalid number tasks.


INIT_FAILURE

public static final VertexTerminationCause INIT_FAILURE
This vertex failed during init.


INTERNAL_ERROR

public static final VertexTerminationCause INTERNAL_ERROR
Method Detail

values

public static VertexTerminationCause[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VertexTerminationCause c : VertexTerminationCause.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VertexTerminationCause valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2014 Apache Software Foundation. All rights reserved.