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

Yarn Client should not call System.exit, should throw exception instead.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2, 1.0.1
    • Deploy
    • None

    Description

      People submit spark job inside their application to yarn cluster using spark yarn client, and it's not desirable to call System.exit in yarn client which will terminate the parent application as well.

      We should throw exception instead, and people can determine which action they want to take given the exception.

      Attachments

        Activity

          People

            johnzhao John Zhao
            dbtsai DB Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: