java.lang.AbstractMethodError: com.databricks.spark.avro.DefaultSource.prepareRead(Lorg/apache/spark/sql/SparkSession;Lscala/collection/immutable/Map;Lscala/collection/Seq;)Lscala/collection/immutable/Map;

GitHub | joerwin | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 139#230584387

    GitHub | 9 months ago | joerwin
    java.lang.AbstractMethodError: com.databricks.spark.avro.DefaultSource.prepareRead(Lorg/apache/spark/sql/SparkSession;Lscala/collection/immutable/Map;Lscala/collection/Seq;)Lscala/collection/immutable/Map;
  2. 0

    Error while using spark-redshift jar

    GitHub | 3 months ago | TransitAdmin
    java.lang.AbstractMethodError: com.databricks.spark.redshift.RedshiftFileFormat.prepareRead(Lorg/apache/spark/sql/SparkSession;Lscala/collection/immutable/Map;Lscala/collection/Seq;)Lscala/collection/immutable/Map;

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      com.databricks.spark.avro.DefaultSource.prepareRead(Lorg/apache/spark/sql/SparkSession;Lscala/collection/immutable/Map;Lscala/collection/Seq;)Lscala/collection/immutable/Map;

      at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation()
    2. org.apache.spark
      DataSource.resolveRelation
      1. org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:330)
      1 frame
    3. Spark Project SQL
      DataFrameReader.load
      1. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:130)
      2. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:140)
      2 frames
    4. Unknown
      Test.main
      1. Test$.countAvro(Test.scala:45)
      2. Test$.run(Test.scala:38)
      3. Test$.main(Test.scala:15)
      4. Test.main(Test.scala)
      4 frames
    5. 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
    6. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:724)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:119)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames