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

JavaStreamingContext#awaitTermination() throws non-declared InterruptedException

    XMLWordPrintableJSON

Details

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

    Description

      Call to JavaStreamingContext#awaitTermination() can throw InterruptedException which cannot be caught easily in Java because it's not declared in @throws(classOf[InterruptedException]) annotation.

      This InterruptedException comes originally from ContextWaiter where Java ReentrantLock is used.

      Attachments

        Activity

          People

            srowen Sean R. Owen
            vanekjar Jaromir Vanek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: