java.lang.IllegalArgumentException: requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null

GitHub | dkick | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    GitHub comment 142#253651849

    GitHub | 5 months ago | dkick
    java.lang.IllegalArgumentException: requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null
  2. 0
    samebug tip
    Try to restart Play
  3. 0

    GitHub comment 1988#201105812

    GitHub | 11 months ago | clockfly
    java.lang.IllegalArgumentException: requirement failed: Cannot push port (responseOut) twice
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    replaceWithContext troubles

    GitHub | 11 months ago | gebner
    java.lang.IllegalArgumentException: requirement failed: Incorrect shallow formula: y = d != c = d
  6. 0

    Requests with method 'HEAD' must have an empty entity

    GitHub | 11 months ago | jrudnick
    java.lang.IllegalArgumentException: requirement failed: Requests with method 'HEAD' must have an empty entity
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null

    at scala.Predef$.require()
  2. Scala
    Predef$.require
    1. scala.Predef$.require(Predef.scala:224)
    1 frame
  3. Spark Project Streaming
    TestStreamingContext.<init>
    1. org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:131)
    2. org.apache.spark.streaming.TestStreamingContext.<init>(TestStreamingContext.scala:28)
    3. org.apache.spark.streaming.TestStreamingContext.<init>(TestStreamingContext.scala:35)
    3 frames
  4. com.holdenkarau.spark
    StreamingSuiteCommon$class.setupStreams
    1. com.holdenkarau.spark.testing.StreamingSuiteCommon$class.setupStreams(StreamingSuiteCommon.scala:141)
    1 frame
  5. Unknown
    MyTest.setupStreams
    1. MyTest.setupStreams(MyTest.scala:6)
    1 frame
  6. com.holdenkarau.spark
    StreamingSuiteBase$class.testOperation
    1. com.holdenkarau.spark.testing.StreamingSuiteBase$class.testOperation(StreamingSuiteBase.scala:150)
    1 frame
  7. Unknown
    MyTest.<init>
    1. MyTest.testOperation(MyTest.scala:6)
    2. MyTest.<init>(MyTest.scala:11)
    2 frames
  8. Java RT
    NativeConstructorAccessorImpl.newInstance0
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    1 frame