Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36623 Improve spark exit logic
  3. SPARK-38270

SQL CLI AM should keep same exitcode with client

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.4.0
    • SQL
    • None

    Description

      Currently for SQL CLI, we all use shutdown hook to stop SC

          // Clean up after we exit
          ShutdownHookManager.addShutdownHook { () => SparkSQLEnv.stop() }
      
      

      This cause Yarn AM always success even client exit with code not 0.

      Attachments

        Activity

          People

            angerszhuuu angerszhu
            angerszhuuu angerszhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: