Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VL] unsupported method #1027

Closed
FelixYBW opened this issue Feb 25, 2023 · 7 comments
Closed

[VL] unsupported method #1027

FelixYBW opened this issue Feb 25, 2023 · 7 comments
Labels
bug Something isn't working velox backend works for Velox backend

Comments

@FelixYBW
Copy link
Contributor

Describe the bug
Spark compitable issue

image

To Reproduce
Vanilla Spark3.2.0.

@FelixYBW FelixYBW added the bug Something isn't working label Feb 25, 2023
@weiting-chen weiting-chen added the velox backend works for Velox backend label Mar 1, 2023
@jinchengchenghh
Copy link
Contributor

What's the compile command? Do you change the spark version to 3.2.0 in pom.xml?

@rui-mo
Copy link
Contributor

rui-mo commented Mar 2, 2023

Reproduced this error on Spark 3.2.0, but if we change the used spark version to 3.2.0 at pom.xml#L40, this error can be resolved.

23/03/02 18:43:44 WARN SparkShimProvider: Spark runtime version 3.2.0 is not matched with Gluten's fully tested version 3.2.2
java.lang.NoSuchMethodError: org.apache.spark.sql.execution.aggregate.HashAggregateExec.copy$default$2()Z
  at io.glutenproject.extension.columnar.StoreExpandGroupExpression$$anonfun$apply$1.applyOrElse(TransformHintRule.scala:113)
  at io.glutenproject.extension.columnar.StoreExpandGroupExpression$$anonfun$apply$1.applyOrElse(TransformHintRule.scala:110)
  at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformUpWithPruning$2(TreeNode.scala:535)
  at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:82)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transformUpWithPruning(TreeNode.scala:535)

@FelixYBW
Copy link
Contributor Author

FelixYBW commented Mar 2, 2023

If we change to 3.2.0, can we pass 3.2.2?

@rui-mo
Copy link
Contributor

rui-mo commented Mar 3, 2023

If we change to 3.2.0, can we pass 3.2.2?

@FelixYBW No, if using Spark 3.2.0 in pom but submit the job with Spark 3.2.2, we got the similar error.

java.lang.NoSuchMethodError: org.apache.spark.sql.execution.aggregate.HashAggregateExec.copy$default$2()Lscala/collection/Seq;
  at io.glutenproject.extension.columnar.StoreExpandGroupExpression$$anonfun$apply$1.applyOrElse(TransformHintRule.scala:113)
  at io.glutenproject.extension.columnar.StoreExpandGroupExpression$$anonfun$apply$1.applyOrElse(TransformHintRule.scala:110)
  at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformUpWithPruning$2(TreeNode.scala:535)

@FelixYBW
Copy link
Contributor Author

FelixYBW commented Mar 3, 2023

I see, @CodingCat how did you solve the issue?

@CodingCat
Copy link
Contributor

mvn clean install -Pspark-3.2 -Pbackends-velox -DskipTests -Dspark32.version=3.2.0

and then submit in spark 3.2.0 environment, I think nowadays, it is harder to use different compile/run time versions of Spark even for maintenance releases

@FelixYBW
Copy link
Contributor Author

FelixYBW commented Mar 6, 2023

Thank you. Let's manually fix the pom then.

@FelixYBW FelixYBW closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working velox backend works for Velox backend
Projects
None yet
Development

No branches or pull requests

5 participants