java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 142#253651849
    via GitHub by dkick
    ,
  • GitHub comment 1988#201105812
    via GitHub by clockfly
    ,
  • replaceWithContext troubles
    via GitHub by gebner
    ,
  • GitHub comment 20209#205896543
    via GitHub by hochgi
    ,
  • GitHub comment 20642#222111584
    via GitHub by kstokoz
    ,
  • GitHub comment 20642#223772154
    via GitHub by abrighton
    ,
  • GitHub comment 2#222986551
    via GitHub by ovidiubuligan
    ,
    • java.lang.IllegalArgumentException: requirement failed: Spark Streaming cannot be initialized with both SparkContext and checkpoint as null at scala.Predef$.require(Predef.scala:224) at org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:131) at org.apache.spark.streaming.TestStreamingContext.<init>(TestStreamingContext.scala:28) at org.apache.spark.streaming.TestStreamingContext.<init>(TestStreamingContext.scala:35) at com.holdenkarau.spark.testing.StreamingSuiteCommon$class.setupStreams(StreamingSuiteCommon.scala:141) at MyTest.setupStreams(MyTest.scala:6) at com.holdenkarau.spark.testing.StreamingSuiteBase$class.testOperation(StreamingSuiteBase.scala:150) at MyTest.testOperation(MyTest.scala:6) at MyTest.<init>(MyTest.scala:11) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    Users with the same issue

    rprp
    1 times, last one,
    tyson925tyson925
    16 times, last one,
    gehelgehel
    2 times, last one,
    melezovmelezov
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    43 more bugmates