Package org.apache.spark.util
Class SparkExitCode
Object
org.apache.spark.util.SparkExitCode
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intExit due to ClassNotFoundException or NoClassDefFoundError.static intExit because the driver is running over the given threshold.static intException indicate command not found.static intException indicate invalid usage of some shell built-in command.static intException appears when the computer cannot find the specified path.static intExit due to executor failures exceeds the threshold.static intFailed termination.static intSuccessful termination.static intOOM()The default uncaught exception handler was reached, and the uncaught exception was anstatic intThe default uncaught exception handler was reached.static intThe default uncaught exception handler was called and an exception was encountered while
- 
Constructor Details- 
SparkExitCodepublic SparkExitCode()
 
- 
- 
Method Details- 
EXIT_SUCCESSpublic static int EXIT_SUCCESS()Successful termination.
- 
EXIT_FAILUREpublic static int EXIT_FAILURE()Failed termination.
- 
ERROR_MISUSE_SHELL_BUILTINpublic static int ERROR_MISUSE_SHELL_BUILTIN()Exception indicate invalid usage of some shell built-in command.
- 
ERROR_PATH_NOT_FOUNDpublic static int ERROR_PATH_NOT_FOUND()Exception appears when the computer cannot find the specified path.
- 
EXCEED_MAX_EXECUTOR_FAILURESpublic static int EXCEED_MAX_EXECUTOR_FAILURES()Exit due to executor failures exceeds the threshold.
- 
UNCAUGHT_EXCEPTIONpublic static int UNCAUGHT_EXCEPTION()The default uncaught exception handler was reached.
- 
UNCAUGHT_EXCEPTION_TWICEpublic static int UNCAUGHT_EXCEPTION_TWICE()The default uncaught exception handler was called and an exception was encountered while- Returns:
- (undocumented) logging the exception.
 
- 
OOMpublic static int OOM()The default uncaught exception handler was reached, and the uncaught exception was an- Returns:
- (undocumented) OutOfMemoryError.
 
- 
CLASS_NOT_FOUNDpublic static int CLASS_NOT_FOUND()Exit due to ClassNotFoundException or NoClassDefFoundError.
- 
DRIVER_TIMEOUTpublic static int DRIVER_TIMEOUT()Exit because the driver is running over the given threshold.
- 
ERROR_COMMAND_NOT_FOUNDpublic static int ERROR_COMMAND_NOT_FOUND()Exception indicate command not found.
 
-