java.lang.UnsupportedOperationException: Cannot change checkpoint interval of an DStream after streaming context has started

gitbooks.io | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Discretized Streams (DStreams) · Mastering Apache Spark

    gitbooks.io | 6 months ago
    java.lang.UnsupportedOperationException: Cannot change checkpoint interval of an DStream after streaming context has started

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Cannot change checkpoint interval of an DStream after streaming context has started

      at org.apache.spark.streaming.dstream.DStream.checkpoint()
    2. Spark Project Streaming
      DStream.checkpoint
      1. org.apache.spark.streaming.dstream.DStream.checkpoint(DStream.scala:177)
      1 frame