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

Launcher handles can miss application updates if application finishes too quickly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 2.3.0
    • None
    • Spark Core

    Description

      This is the underlying issue in SPARK-23020, which was worked around in our tests, but still exist in the code.

      If a child application finishes too quickly, the launcher code may clean up the handle's state before the connection from the child has been acknowledged. This means than the application handle will have a final state LOST instead of whatever final state the application sent.

      This doesn't seem to affect child processes as much as the new in-process launch mode, and it requires the child application to finish very quickly, which should be rare for the kind of use case the launcher library covers.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vanzin Marcelo Masiero Vanzin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: