java.lang.NoSuchMethodError: org.apache.spark.sql.SQLContext.createDataFrame(Lorg/apache/spark/rdd/RDD;Lorg/apache/spark/sql/types/StructType;)Lorg/apache/spark/sql/DataFrame;

Stack Overflow | vishal | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd , rafael and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Apache ignite and spark itegration error java.lang.NoSuchMethodError: org.apache.spark.sql.SQLContext.createDataFrame

    Stack Overflow | 3 months ago | vishal
    java.lang.NoSuchMethodError: org.apache.spark.sql.SQLContext.createDataFrame(Lorg/apache/spark/rdd/RDD;Lorg/apache/spark/sql/types/StructType;)Lorg/apache/spark/sql/DataFrame;
  2. 0
    samebug tip
    Check if you use the right path
  3. 0
    samebug tip
    Change the queue name to hadoop
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Put Jackson Java Module and Scala module in the same version.
    via GitHub by anujlal01
  6. 0
    samebug tip
    Check if you didn't miss adding Jackson dependencies to your code.
    via GitHub by anujlal01

    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.NoSuchMethodError

      org.apache.spark.sql.SQLContext.createDataFrame(Lorg/apache/spark/rdd/RDD;Lorg/apache/spark/sql/types/StructType;)Lorg/apache/spark/sql/DataFrame;

      at org.apache.ignite.spark.IgniteRDD.sql()
    2. org.apache.ignite
      JavaIgniteRDD.sql
      1. org.apache.ignite.spark.IgniteRDD.sql(IgniteRDD.scala:152)
      2. org.apache.ignite.spark.JavaIgniteRDD.sql(JavaIgniteRDD.scala:79)
      3. org.apache.ignite.spark.JavaIgniteRDD.sql(JavaIgniteRDD.scala:79)
      3 frames
    3. com.me.igniteclient1
      App.main
      1. com.me.igniteclient1.App.main(App.java:38)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:738)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:187)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:212)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:126)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames