Class ContainerExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.server.nodemanager.containermanager.runtime.ContainerExecutionException
- All Implemented Interfaces:
Serializable
@Private
@Unstable
public class ContainerExecutionException
extends org.apache.hadoop.yarn.exceptions.YarnException
Exception caused in a container runtime impl. 'Runtime' is not used in
the class name to avoid confusion with a java RuntimeException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContainerExecutionException(String message) ContainerExecutionException(String message, int exitCode) ContainerExecutionException(String message, int exitCode, String output, String errorOutput) ContainerExecutionException(Throwable throwable) ContainerExecutionException(Throwable cause, int exitCode, String output, String errorOutput) -
Method Summary
Modifier and TypeMethodDescriptionstatic intintMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContainerExecutionException
-
ContainerExecutionException
-
ContainerExecutionException
-
ContainerExecutionException
-
ContainerExecutionException
-
-
Method Details
-
getExitCode
public int getExitCode() -
getOutput
-
getErrorOutput
-
getDefaultExitCode
public static int getDefaultExitCode()
-