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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2, 1.0.1
    • Component/s: Deploy
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: