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

Add awaitTerminationOrTimeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • DStreams
    • None

    Description

      Add `awaitTerminationOrTimeout` to return if the waiting time elapsed:
      1 `true` if it's stopped.
      2. `false` if the waiting time elapsed before returning from the method.
      3. throw the reported error if it's thrown during the execution.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zsxwing Shixiong Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: