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 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 139#230584387

    GitHub | 8 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 | 2 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