-
Notifications
You must be signed in to change notification settings - Fork 435
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
[GLUTEN-3475] Add spark35 scala213 #3476
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that some code has not been uploaded yet? I haven't been able to compile successfully locally yet
dev/buildbundle-veloxbe.sh
Outdated
@@ -7,3 +7,6 @@ cd $GLUTEN_DIR | |||
mvn clean package -Pbackends-velox -Prss -Pspark-3.2 -DskipTests | |||
mvn clean package -Pbackends-velox -Prss -Pspark-3.3 -DskipTests | |||
mvn clean package -Pbackends-velox -Prss -Pspark-3.4 -DskipTests | |||
mvn clean package -Pbackends-velox -Prss -Pspark-3.5 -DskipTests | |||
# No celbron Scala 2.13 support yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: celeborn
@@ -79,7 +79,7 @@ | |||
<dependency> | |||
<groupId>org.scalacheck</groupId> | |||
<artifactId>scalacheck_${scala.binary.version}</artifactId> | |||
<version>1.13.5</version> | |||
<version>1.14.3</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some related dependencies that use hard coding _ 2.12
in this pom.xml
, they should also use ${scala.binary.version}
, I suspect there are other similar cases
@@ -190,7 +190,8 @@ private[glutenproject] class GlutenDriverPlugin extends DriverPlugin with Loggin | |||
|
|||
private[glutenproject] class GlutenExecutorPlugin extends ExecutorPlugin { | |||
private var executorEndpoint: GlutenExecutorEndpoint = _ | |||
private val taskListeners: Seq[TaskListener] = Array(TaskResources) | |||
private val taskListeners: Seq[TaskListener] = | |||
(immutable.ArraySeq.unsafeWrapArray(Array(TaskResources))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
immutable.ArraySeq.unsafeWrapArray
is a Scala 2.13 only api, if this performance optimization is necessary, this file may need to be split into Scala 2.12 and Scala 2.13 versions
@@ -20,7 +20,7 @@ import io.glutenproject.GlutenPlugin | |||
|
|||
import java.util.ServiceLoader | |||
|
|||
import scala.collection.JavaConverters | |||
import scala.jdk.CollectionConverters._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, scala.jdk.CollectionConverters
also Scala 2.13 only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good point, looks like there is a backwards compact lib ( https://stackoverflow.com/questions/59197883/version-agnostic-way-to-convert-from-java-to-scala-collections-and-back ) I'll try for Scala 2.12 support
Run Gluten Clickhouse CI |
Still WIP but made some more progress |
Run Gluten Clickhouse CI |
18f96d8
to
32f8cfb
Compare
Run Gluten Clickhouse CI |
3 similar comments
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
@ LuciferYang any chance I can get read access to Jenkins? |
31aa990
to
7e1916c
Compare
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
29cc597
to
19c02f8
Compare
Run Gluten Clickhouse CI |
97e70f1
to
7fa97e9
Compare
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
@LuciferYang any chance I can get read access to Jenkins? |
Sorry, I'm not familiar with this matter. cc @zhouyuan |
Run Gluten Clickhouse CI |
c359501
to
852487c
Compare
…ack spotless plugin version.
f23b456
to
19951a9
Compare
Run Gluten Clickhouse CI |
Hey y'all, just following up I'm happy to update the PR on top of main if someone can get me access to CI and has the cycles to review, otherwise I'll just leave it be. |
@holdenk Thanks for your great work. I have approved the CI running. The changes in this PR are too extensive, making it difficult to review. I noticed that the Scala version in Spark 3.5 is still 2.12 here. So, can we enable only spark 3.5 in this PR and create a separate PR to upgrade the Scala version to 2.13 if necessary? Also, could you please help list some of the main modifications in the PR description to facilitate our review? |
@JkSelf thanks! Can I get a log in so I can see the CI results / logs? As far as splitting out Scala 2.13 / Spark 3.5 changes certainly possible but given everything so far I'd want to know there was someone with merge permissions with the time and interest to do a review. |
@holdenk You can click on the |
So the Jenkins instance requires a login, without that I'm not sure how to fully debug the issues which come up when I fix the GHA issues. Also before I make another PR would like to know who to work with on review for Spark 3.5. |
@zhztheplayer Do you have any input? Thanks. |
The Jenkins CI is only for ClickHouse backend, username/password: gluten/hN2xX3uQ4m , see ref. |
Awesome, thanks for the login. |
@holdenk It appears that the Velox backends jobs have also failed. Please ensure that all Velox and ClickHouse backends pass successfully. Thanks. |
So if you're down to review the change sure I'll make a Scala 2.12 PR once I've got some time (maybe later this week or next), but unless there's a reviewer available I'm not working on this anymore. To be clear: I totally understand if folks don't have review bandwidth I know how much work that can be from Spark -- but it's the holidays in the US and I only have so much bandwidth. |
Yes, Can we merge the Spark 3.5 PR first and then proceed with the Scala 2.13 PR? |
Rocking, I'll try to put together a Scala 2.12 Spark 3.5 PR for you to review for the first week of January :) |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it is still valid. Thanks. |
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Fixes: #3475
How was this patch tested?
In progress, existing tests and compiling
See https://www.youtube.com/watch?v=UbB7v2f7A6k