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 2022/03/03 18:26:04 UTC
[GitHub] [spark] steveloughran opened a new pull request #35725: SPARK-38394. Build of spark sql against hadoop-3.4.0-snapshot failing.
steveloughran opened a new pull request #35725:
URL: https://github.com/apache/spark/pull/35725
### What changes were proposed in this pull request?
This sets scala-maven-plugin.version to 4.4.0 except when the hadoop-2.7
profile is used, because SPARK-36547 shows that only 4.3.0 works there.
### Why are the changes needed?
1. If you try to build against a local snapshot of hadoop trunk with `-Dhadoop.version=3.4.0-SNAPSHOT` the build failes with the error shown in the JIRA.
2. upgrading the scala plugin version fixes this. It is a plugin issue.
3. the version is made configurable so the hadoop 2.7 profile can switch back to the one which works there.
As to why this only surfaces when compiling hadoop trunk, or why hadoop-2.7 requires the new one -who knows. they both look certificate related, which is interesting. maybe something related to signed JARs?
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
by successfully building spark against a local build of hadoop 3.4.0-SNAPSHOT
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060100620
Oh, we were waiting for addressing this comment.
- https://github.com/apache/spark/pull/35725#discussion_r819028128
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060106070
No problem. A simple follow-up will be enough~
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] steveloughran commented on pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060613673
> Since this is required for only developing Apache Hadoop 3.4, I'd suggest to have this only at Apache Spark 3.3 which means master branch, @srowen .
oh, and i agree with this. its currently only for people trying to do things across multiple projects.
what's not clear though is "why does it now fail on hadoop trunk?". i suspect some transient dependency change; as all these failures seem related to encryption and certificates. maybe something related to signed jars.
whatever that cause is, there's a risk that any change to hadoop branch-3.3 could suddenly stop the build the same way.
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
srowen commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060104656
Ah. Didn't catch that. Do we need to revert or just follow up? I can help with either
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
srowen closed pull request #35725:
URL: https://github.com/apache/spark/pull/35725
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
srowen commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1059970082
How far does this need to back-port, 3.1?
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] steveloughran commented on pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060602229
>, when is Apache Hadoop community going to release Apache Hadoop 3.4.0?
no schedule, i was just trying to do end to end testing on the manifest committer and things wouldn't work. moving (back) to the 4.4.0 compiler fixed things
i do have locally the changes to update the pom comments better, just hadn't merged it as i was dealing with end to end build problems (mvn oom, ...), unrelated to scala. will followup
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] sunchao commented on a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
sunchao commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819028128
##########
File path: pom.xml
##########
@@ -3430,6 +3433,7 @@
<hadoop-client-api.artifact>hadoop-client</hadoop-client-api.artifact>
<hadoop-client-runtime.artifact>hadoop-yarn-api</hadoop-client-runtime.artifact>
<hadoop-client-minicluster.artifact>hadoop-client</hadoop-client-minicluster.artifact>
+ <scala-maven-plugin.version>4.3.0</scala-maven-plugin.version>
Review comment:
nit: maybe we should keep the previous warning "Please don't upgrade the version below .."
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] sunchao commented on a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
sunchao commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819830829
##########
File path: pom.xml
##########
@@ -3430,6 +3433,7 @@
<hadoop-client-api.artifact>hadoop-client</hadoop-client-api.artifact>
<hadoop-client-runtime.artifact>hadoop-yarn-api</hadoop-client-runtime.artifact>
<hadoop-client-minicluster.artifact>hadoop-client</hadoop-client-minicluster.artifact>
+ <scala-maven-plugin.version>4.3.0</scala-maven-plugin.version>
Review comment:
Yes SGTM too
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819827940
##########
File path: pom.xml
##########
@@ -3430,6 +3433,7 @@
<hadoop-client-api.artifact>hadoop-client</hadoop-client-api.artifact>
<hadoop-client-runtime.artifact>hadoop-yarn-api</hadoop-client-runtime.artifact>
<hadoop-client-minicluster.artifact>hadoop-client</hadoop-client-minicluster.artifact>
+ <scala-maven-plugin.version>4.3.0</scala-maven-plugin.version>
Review comment:
+1 for that description, @steveloughran .
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] martin-g commented on a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
martin-g commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819039329
##########
File path: pom.xml
##########
@@ -163,6 +163,10 @@
<scala.version>2.12.15</scala.version>
<scala.binary.version>2.12</scala.binary.version>
<scalatest-maven-plugin.version>2.0.2</scalatest-maven-plugin.version>
+ <!-- SPARK-36547: This needs to be managed in different profiles to avoid
+ errors building different Hadoop versions -->
+
+ <scala-maven-plugin.version>4.4.0</scala-maven-plugin.version>
Review comment:
Why not 4.5.6 ?
https://search.maven.org/artifact/net.alchim31.maven/scala-maven-plugin/4.5.6/maven-plugin
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] steveloughran commented on a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
steveloughran commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819476913
##########
File path: pom.xml
##########
@@ -3430,6 +3433,7 @@
<hadoop-client-api.artifact>hadoop-client</hadoop-client-api.artifact>
<hadoop-client-runtime.artifact>hadoop-yarn-api</hadoop-client-runtime.artifact>
<hadoop-client-minicluster.artifact>hadoop-client</hadoop-client-minicluster.artifact>
+ <scala-maven-plugin.version>4.3.0</scala-maven-plugin.version>
Review comment:
how about "please be very careful" and links to the different JIRAs, and that the 2.7 one must be left as is?
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060068298
Since this is required for only developing `Apache Hadoop 3.4`, I'd suggest to have this only at Apache Spark 3.3 which means `master` branch, @srowen .
To @steveloughran and @sunchao , when is Apache Hadoop community going to release Apache Hadoop 3.4.0?
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
srowen commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060097267
Merged to master
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] steveloughran commented on pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1060610490
see #35753
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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 #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
srowen commented on pull request #35725:
URL: https://github.com/apache/spark/pull/35725#issuecomment-1058442968
Weird, but OK by me
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] steveloughran commented on a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
steveloughran commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819478294
##########
File path: pom.xml
##########
@@ -163,6 +163,10 @@
<scala.version>2.12.15</scala.version>
<scala.binary.version>2.12</scala.binary.version>
<scalatest-maven-plugin.version>2.0.2</scalatest-maven-plugin.version>
+ <!-- SPARK-36547: This needs to be managed in different profiles to avoid
+ errors building different Hadoop versions -->
+
+ <scala-maven-plugin.version>4.4.0</scala-maven-plugin.version>
Review comment:
i reverted to the one which was known to work on spark and hadoop 3, which was enough to unblock me without me having to go near any futher regressions caused by later versions of something which is clearly brittle to changes in *something* (transient dependencies?)
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] martin-g commented on a change in pull request #35725: [SPARK-38394][BUILD] Upgrade `scala-maven-plugin` to 4.4.0 for Hadoop 3 profile
Posted by GitBox <gi...@apache.org>.
martin-g commented on a change in pull request #35725:
URL: https://github.com/apache/spark/pull/35725#discussion_r819530995
##########
File path: pom.xml
##########
@@ -163,6 +163,10 @@
<scala.version>2.12.15</scala.version>
<scala.binary.version>2.12</scala.binary.version>
<scalatest-maven-plugin.version>2.0.2</scalatest-maven-plugin.version>
+ <!-- SPARK-36547: This needs to be managed in different profiles to avoid
+ errors building different Hadoop versions -->
+
+ <scala-maven-plugin.version>4.4.0</scala-maven-plugin.version>
Review comment:
OK. I will try it myself!
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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