Class SparkExitCode

Object
org.apache.spark.util.SparkExitCode

public class SparkExitCode extends Object
  • Constructor Details

    • SparkExitCode

      public SparkExitCode()
  • Method Details

    • EXIT_SUCCESS

      public static int EXIT_SUCCESS()
      Successful termination.
    • EXIT_FAILURE

      public static int EXIT_FAILURE()
      Failed termination.
    • ERROR_MISUSE_SHELL_BUILTIN

      public static int ERROR_MISUSE_SHELL_BUILTIN()
      Exception indicate invalid usage of some shell built-in command.
    • ERROR_PATH_NOT_FOUND

      public static int ERROR_PATH_NOT_FOUND()
      Exception appears when the computer cannot find the specified path.
    • EXCEED_MAX_EXECUTOR_FAILURES

      public static int EXCEED_MAX_EXECUTOR_FAILURES()
      Exit due to executor failures exceeds the threshold.
    • UNCAUGHT_EXCEPTION

      public static int UNCAUGHT_EXCEPTION()
      The default uncaught exception handler was reached.
    • UNCAUGHT_EXCEPTION_TWICE

      public static int UNCAUGHT_EXCEPTION_TWICE()
      The default uncaught exception handler was called and an exception was encountered while
      Returns:
      (undocumented) logging the exception.
    • OOM

      public static int OOM()
      The default uncaught exception handler was reached, and the uncaught exception was an
      Returns:
      (undocumented) OutOfMemoryError.
    • DRIVER_TIMEOUT

      public static int DRIVER_TIMEOUT()
      Exit because the driver is running over the given threshold.
    • ERROR_COMMAND_NOT_FOUND

      public static int ERROR_COMMAND_NOT_FOUND()
      Exception indicate command not found.