java.lang.AbstractMethodError

GitHub | edanshalom | 6 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

    java.lang.AbstractMethodError: org.apache.spark.sql.catalyst.expressions.Expression.doGenCode

    GitHub | 4 months ago | dmitrybugakov
    java.lang.AbstractMethodError: org.apache.spark.sql.catalyst.expressions.Expression.doGenCode(Lorg/apache/spark/sql/catalyst/expressions/codegen/CodegenContext;Lorg/apache/spark/sql/catalyst/expressions/codegen/ExprCode;)Lorg/apache/spark/sql/catalyst/expressions/codegen/ExprCode;

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      No message provided

      at org.apache.spark.sql.catalyst.expressions.Expression$$anonfun$genCode$2.apply()
    2. Spark Project Catalyst
      Expression$$anonfun$genCode$2.apply
      1. org.apache.spark.sql.catalyst.expressions.Expression$$anonfun$genCode$2.apply(Expression.scala:104)
      2. org.apache.spark.sql.catalyst.expressions.Expression$$anonfun$genCode$2.apply(Expression.scala:101)
      2 frames
    3. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:121)
      1 frame
    4. Spark Project Catalyst
      Expression.genCode
      1. org.apache.spark.sql.catalyst.expressions.Expression.genCode(Expression.scala:101)
      1 frame
    5. Spark Project SQL
      ProjectExec$$anonfun$5.apply
      1. org.apache.spark.sql.execution.ProjectExec$$anonfun$5.apply(basicPhysicalOperators.scala:57)
      2. org.apache.spark.sql.execution.ProjectExec$$anonfun$5.apply(basicPhysicalOperators.scala:57)
      2 frames
    6. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      3. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      4. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
      5. scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      6. scala.collection.AbstractTraversable.map(Traversable.scala:104)
      6 frames
    7. Spark Project SQL
      SparkPlan$$anonfun$executeQuery$1.apply
      1. org.apache.spark.sql.execution.ProjectExec.doConsume(basicPhysicalOperators.scala:57)
      2. org.apache.spark.sql.execution.CodegenSupport$class.consume(WholeStageCodegenExec.scala:153)
      3. org.apache.spark.sql.execution.InputAdapter.consume(WholeStageCodegenExec.scala:218)
      4. org.apache.spark.sql.execution.InputAdapter.doProduce(WholeStageCodegenExec.scala:244)
      5. org.apache.spark.sql.execution.CodegenSupport$$anonfun$produce$1.apply(WholeStageCodegenExec.scala:83)
      6. org.apache.spark.sql.execution.CodegenSupport$$anonfun$produce$1.apply(WholeStageCodegenExec.scala:78)
      7. org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:136)
      7 frames
    8. Spark
      RDDOperationScope$.withScope
      1. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
      1 frame
    9. Spark Project SQL
      SparkPlan$$anonfun$executeQuery$1.apply
      1. org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:133)
      2. org.apache.spark.sql.execution.CodegenSupport$class.produce(WholeStageCodegenExec.scala:78)
      3. org.apache.spark.sql.execution.InputAdapter.produce(WholeStageCodegenExec.scala:218)
      4. org.apache.spark.sql.execution.ProjectExec.doProduce(basicPhysicalOperators.scala:40)
      5. org.apache.spark.sql.execution.CodegenSupport$$anonfun$produce$1.apply(WholeStageCodegenExec.scala:83)
      6. org.apache.spark.sql.execution.CodegenSupport$$anonfun$produce$1.apply(WholeStageCodegenExec.scala:78)
      7. org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:136)
      7 frames
    10. Spark
      RDDOperationScope$.withScope
      1. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
      1 frame
    11. Spark Project SQL
      SparkPlan$$anonfun$executeQuery$1.apply
      1. org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:133)
      2. org.apache.spark.sql.execution.CodegenSupport$class.produce(WholeStageCodegenExec.scala:78)
      3. org.apache.spark.sql.execution.ProjectExec.produce(basicPhysicalOperators.scala:30)
      4. org.apache.spark.sql.execution.WholeStageCodegenExec.doCodeGen(WholeStageCodegenExec.scala:309)
      5. org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:347)
      6. org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:115)
      7. org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:115)
      8. org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:136)
      8 frames
    12. Spark
      RDDOperationScope$.withScope
      1. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
      1 frame
    13. Spark Project SQL
      Dataset.show
      1. org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:133)
      2. org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:114)
      3. org.apache.spark.sql.execution.SparkPlan.getByteArrayRdd(SparkPlan.scala:240)
      4. org.apache.spark.sql.execution.SparkPlan.executeTake(SparkPlan.scala:323)
      5. org.apache.spark.sql.execution.CollectLimitExec.executeCollect(limit.scala:39)
      6. org.apache.spark.sql.Dataset$$anonfun$org$apache$spark$sql$Dataset$$execute$1$1.apply(Dataset.scala:2183)
      7. org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:57)
      8. org.apache.spark.sql.Dataset.withNewExecutionId(Dataset.scala:2532)
      9. org.apache.spark.sql.Dataset.org$apache$spark$sql$Dataset$$execute$1(Dataset.scala:2182)
      10. org.apache.spark.sql.Dataset.org$apache$spark$sql$Dataset$$collect(Dataset.scala:2189)
      11. org.apache.spark.sql.Dataset$$anonfun$head$1.apply(Dataset.scala:1925)
      12. org.apache.spark.sql.Dataset$$anonfun$head$1.apply(Dataset.scala:1924)
      13. org.apache.spark.sql.Dataset.withTypedCallback(Dataset.scala:2562)
      14. org.apache.spark.sql.Dataset.head(Dataset.scala:1924)
      15. org.apache.spark.sql.Dataset.take(Dataset.scala:2139)
      16. org.apache.spark.sql.Dataset.showString(Dataset.scala:239)
      17. org.apache.spark.sql.Dataset.show(Dataset.scala:526)
      18. org.apache.spark.sql.Dataset.show(Dataset.scala:486)
      19. org.apache.spark.sql.Dataset.show(Dataset.scala:495)
      19 frames