Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-194

Geode Spark Connector does not support Spark 2.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: extensions

      Description

      The BasicIntegrationTest fails when using spark 1.4. e.g.

      [info] - GemFire OQL query with more complex UDT: Partitioned Region *** FAILED ***
      [info] org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 24.0 failed 1 times, most recent failure: Lost task 0.0 in stage 24.0 (TID 48, localhost): scala.MatchError:
      [info] Portfolio [id=3 status=active type=type3
      [info] AOL:Position [secId=AOL qty=978.0 mktValue=40.373],
      [info] MSFT:Position [secId=MSFT qty=98327.0 mktValue=23.32]] (of class ittest.io.pivotal.gemfire.spark.connector.Portfolio)
      [info] at org.apache.spark.sql.catalyst.CatalystTypeConverters$$anonfun$createToCatalystConverter$4.apply(CatalystTypeConverters.scala:178)
      [info] at org.apache.spark.sql.execution.RDDConversions$$anonfun$rowToRowRdd$1$$anonfun$apply$2.apply(ExistingRDD.scala:62)
      [info] at org.apache.spark.sql.execution.RDDConversions$$anonfun$rowToRowRdd$1$$anonfun$apply$2.apply(ExistingRDD.scala:59)
      [info] at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      [info] at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      [info] at scala.collection.Iterator$class.foreach(Iterator.scala:727)
      [info] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      [info] at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
      [info] at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)
      [info] at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)
      [info] at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
      [info] at scala.collection.AbstractIterator.to(Iterator.scala:1157)
      [info] at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)
      [info] at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)
      [info] at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
      [info] at scala.collection.AbstractIterator.toArray(Iterator.scala:1157)
      [info] at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$12.apply(RDD.scala:885)
      [info] at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$12.apply(RDD.scala:885)
      [info] at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1765)
      [info] at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1765)
      [info] at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:63)
      [info] at org.apache.spark.scheduler.Task.run(Task.scala:70)
      [info] at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:213)
      [info] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      [info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      [info] at java.lang.Thread.run(Thread.java:745)
      [info]
      [info] Driver stacktrace:
      [info] at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1266)
      [info] at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1257)
      [info] at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1256)
      [info] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      [info] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
      [info] at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1256)
      [info] at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:730)
      [info] at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:730)
      [info] at scala.Option.foreach(Option.scala:236)
      [info] at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:730)
      [info] ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jchen21 Jianxia Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: