Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24243

Expose exceptions from InProcessAppHandle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 3.0.0
    • Spark Submit
    • None

    Description

      InProcessAppHandle runs SparkSubmit in a dedicated thread, any exceptions thrown are logged and then the state is set to FAILED. It would be nice to expose the Throwable object to the application rather than logging it and dropping it. Applications may want to manipulate the underlying Throwable / control its logging at a finer granularity. For example, the app might want to call Throwables.getRootCause(throwable).getMessage() and expose the message to the app users.

      Attachments

        Issue Links

          Activity

            People

              stakiar Sahil Takiar
              stakiar Sahil Takiar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: