You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/19 06:26:04 UTC
[GitHub] [spark] LuciferYang opened a new pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
LuciferYang opened a new pull request #31893:
URL: https://github.com/apache/spark/pull/31893
### What changes were proposed in this pull request?
After SPARK-34507, execute` change-scala-version.sh` script will update `scala.version` in parent pom, but if we execute the following commands in order:
```
dev/change-scala-version.sh 2.12
dev/change-scala-version.sh 2.11
git status
```
there will generate git diff as follow:
```
diff --git a/pom.xml b/pom.xml
index f4a50dc5c1..89fd7d88af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,7 +155,7 @@
<commons.math3.version>3.4.1</commons.math3.version>
<!-- managed up from 3.2.1 for SPARK-11652 -->
<commons.collections.version>3.2.2</commons.collections.version>
- <scala.version>2.11.12</scala.version>
+ <scala.version>2.12.10</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
<fasterxml.jackson.version>2.6.7</fasterxml.jackson.version>
```
seem 'scala.version' property was not update correctly.
So this pr add an extra 'scala.version' to scala-2.11 profile to ensure change-scala-version.sh can update the public `scala.version` property correctly.
### Why are the changes needed?
Bug fix.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
**Manual test**
Execute the following commands in order:
```
dev/change-scala-version.sh 2.12
dev/change-scala-version.sh 2.11
git status
```
**Before**
```
diff --git a/pom.xml b/pom.xml
index f4a50dc5c1..89fd7d88af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,7 +155,7 @@
<commons.math3.version>3.4.1</commons.math3.version>
<!-- managed up from 3.2.1 for SPARK-11652 -->
<commons.collections.version>3.2.2</commons.collections.version>
- <scala.version>2.11.12</scala.version>
+ <scala.version>2.12.10</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
<fasterxml.jackson.version>2.6.7</fasterxml.jackson.version>
```
**After**
No git diff.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] srowen closed pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
srowen closed pull request #31893:
URL: https://github.com/apache/spark/pull/31893
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31893:
URL: https://github.com/apache/spark/pull/31893#issuecomment-803045355
cc @srowen
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31893:
URL: https://github.com/apache/spark/pull/31893#issuecomment-802608447
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136244/
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] srowen commented on pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
srowen commented on pull request #31893:
URL: https://github.com/apache/spark/pull/31893#issuecomment-803136786
Merged to 2.4
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31893:
URL: https://github.com/apache/spark/pull/31893#issuecomment-802607504
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40826/
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] LuciferYang commented on pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
LuciferYang commented on pull request #31893:
URL: https://github.com/apache/spark/pull/31893#issuecomment-803717787
thx all ~
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #31893: [SPARK-34774][BUILD][2.4] Ensure change-scala-version.sh update scala.version in parent POM correctly
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31893:
URL: https://github.com/apache/spark/pull/31893#issuecomment-803045671
Also, cc @viirya since he is the release manager for 2.4.8.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org