-
Notifications
You must be signed in to change notification settings - Fork 246
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
[hailctl] update to dataproc 2.2 and Spark 3.5.0 #14158
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ def javaVersion: T[String] = T.input { | |
} | ||
|
||
def sparkVersion: T[String] = T.input { | ||
Result.Success(T.ctx().env.getOrElse("SPARK_VERSION", "3.3.0")) | ||
Result.Success(T.ctx().env.getOrElse("SPARK_VERSION", "3.5.0")) | ||
} | ||
|
||
def debugMode: T[Boolean] = T.input { | ||
|
@@ -79,6 +79,10 @@ object Deps { | |
} | ||
|
||
object Breeze { | ||
// WARNING WARNING WARNING | ||
// Before changing the breeze version review: | ||
// - https://hail.zulipchat.com/#narrow/stream/123011-Hail-Query-Dev/topic/new.20spark.20ndarray.20failures/near/41645 | ||
// - https://github.com/hail-is/hail/pull/11555 | ||
val core = ivy"org.scalanlp::breeze:1.1" | ||
Comment on lines
+82
to
86
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It appears we've actually been using breeze 1.2, because spark-mllib pulls it in:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does the compileIvyDeps line not exclude them? I want to let Spark use their thing and relocate breeze for our own internal purposes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I missed that, that does let us use breeze 1.1. And I now realize even without that, because this is a compile only dependency, we would build with breeze 1.2 but run with 1.1. |
||
val natives = ivy"org.scalanlp::breeze-natives:1.1" | ||
} | ||
|
@@ -210,8 +214,8 @@ object main extends RootModule with HailScalaModule { outer => | |
override def compileIvyDeps: T[Agg[Dep]] = Agg( | ||
Deps.log4j, | ||
Deps.hadoopClient, | ||
Deps.Spark.core(), | ||
Deps.Spark.mllib(), | ||
Deps.Spark.core().excludeOrg("org.scalanlp"), // Hail has an explicit dependency on Breeze 1.1 | ||
Deps.Spark.mllib().excludeOrg("org.scalanlp"), // Hail has an explicit dependency on Breeze 1.1 | ||
Deps.Breeze.core, | ||
) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-release-2.1 | ||
# https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-release-2.2 | ||
# | ||
# 2.1.33-debian11 | ||
pyspark==3.3.2 | ||
# 2.2.5-debian12 | ||
pyspark==3.5.0 |
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.
These properties look wrong based on this example
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.
Is this still wrong?
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.
I don't know what to say - seems to work in 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.
This is what
Install.md
recommendsThere 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.
shrug guess it's fine then