-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Keep Spark version in a single place only (BeamModulePlugin) #23603
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 |
---|---|---|
|
@@ -19,8 +19,8 @@ | |
def basePath = '..' | ||
/* All properties required for loading the Spark build script */ | ||
project.ext { | ||
// Set the version of all Spark-related dependencies here. | ||
spark_version = '2.4.8' | ||
// Spark 2 version as defined in BeamModulePlugin | ||
spark_version = spark2_version | ||
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. As a side note - it's ambiguous to have two types of the naming style (underscore and camel case) in the same config file. 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. Not going to fix all inconsistencies at once ;) |
||
spark_scala_version = '2.11' | ||
// Copy shared sources for Spark 2 to use Spark 3 as primary version in place | ||
copySourceBase = true | ||
|
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.
nit: It'd be worth to mention that spark 2 is deprecated in Beam
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'll add some comments as part of #23728