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

Streaming checkpointing code does not retry after failure due to NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 2.2.0
    • Fix Version/s: 2.1.3, 2.2.1, 2.3.0
    • Component/s: DStreams
    • Labels:
      None

      Description

      CheckpointWriteHandler has a built in retry mechanism. However SPARK-14930/SPARK-13693 put in a fix to de-allocate the fs object, yet initialises it in the wrong place for the while loop, and therefore on attempt 2 it fails with a NPE.

        Attachments

          Activity

            People

            • Assignee:
              tmgstev Tristan Stevens
              Reporter:
              tmgstev Tristan Stevens
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: