marcelo-franceschini commented on issue #7393:
URL:
https://github.com/apache/datafusion-comet/issues/7393#issuecomment-7116123424
Confirming we hit the same `FileSourceScanExec.copy` `NoSuchMethodError` on
Amazon EMR 7.13 (Spark 3.5) with Comet 1.2.0, even without explicit `persist()`
/ `cache()` (triggered during plan canonicalization for exchange reuse).
**Environment:**
- EMR on EC2: `emr-7.13.0`
- Spark: `3.5.6-amzn-2`
- Comet: `org.apache.datafusion:comet-spark-spark3.5_2.12:1.2.0`
- Java 17 (Amazon Corretto), Linux `aarch64`
**Stack trace:**
```text
java.lang.NoSuchMethodError:
'org.apache.spark.sql.execution.FileSourceScanExec
org.apache.spark.sql.execution.FileSourceScanExec.copy(org.apache.spark.sql.execution.datasources.HadoopFsRelation,
scala.collection.Seq, org.apache.spark.sql.types.StructType,
scala.collection.Seq, scala.Option, scala.Option, scala.collection.Seq,
scala.Option, boolean)'
at
org.apache.spark.sql.comet.CometScanUtils$.canonicalizeOriginalPlan(CometScanUtils.scala:58)
at
org.apache.spark.sql.comet.CometNativeScanExec.doCanonicalize(CometNativeScanExec.scala:301)
at
org.apache.spark.sql.comet.CometNativeScanExec.doCanonicalize(CometNativeScanExec.scala:58)
...
at
org.apache.spark.sql.comet.execution.shuffle.CometShuffleExchangeExec.doCanonicalize(CometShuffleExchangeExec.scala:100)
...
at
org.apache.spark.sql.execution.SparkPlanCanonicalizer$.canonicalize(SparkPlanCanonicalizer.scala:47)
at
org.apache.spark.sql.execution.exchange.reuse.SparkPlanOccurrenceCounter$.search$1(SparkPlanOccurrenceCounter.scala:91)
```
We noticed that #7508 had the `backport-1.2` label and its fix landed on
`main` via #7673 (which does not carry `backport-1.2`). Are there plans to
backport #7673 to `branch-1.2` (excluding `MakeDateEvaluation`, which is not on
`branch-1.2`)?
We understand vendor Spark forks are not officially supported. Happy to
validate on EMR 7.13 and report back if it makes it into a `1.2.x` release or
RC.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]