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

Make it explicit in executor logs that uncaught exceptions are thrown during executor shutdown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.1
    • 1.6.0
    • Spark Core
    • None

    Description

      Here is some background for the issue.

      Customer got OOM exception in one of the task and executor got killed with kill %p. Few shutdown hooks are registered with ShutDownHookManager to do the hadoop temp directory cleanup. During this shutdown phase other tasks are throwing uncaught exception and executor logs are filled up with so many of them.

      Since it is unclear for the customer in driver logs/ Spark UI why the container was lost customer is going through the executor logs and he see lot of uncaught exception.

      It would be clear to the customer if we can prepend the uncaught exceptions with some message like [Container is in shutdown mode] so that he can skip those.

      Attachments

        Activity

          People

            vsr Srinivas
            vsr Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: