You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2023/01/25 17:15:00 UTC

[jira] [Commented] (SPARK-42188) Force SBT protobuf version to match Maven on branch 3.2

    [ https://issues.apache.org/jira/browse/SPARK-42188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680713#comment-17680713 ] 

Apache Spark commented on SPARK-42188:
--------------------------------------

User 'snmvaughan' has created a pull request for this issue:
https://github.com/apache/spark/pull/39745

> Force SBT protobuf version to match Maven on branch 3.2
> -------------------------------------------------------
>
>                 Key: SPARK-42188
>                 URL: https://issues.apache.org/jira/browse/SPARK-42188
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.3
>            Reporter: Steve Vaughan
>            Priority: Major
>             Fix For: 3.2.4
>
>
> Update SparkBuild.scala to force SBT use of protobuf-java to match the Maven version.  The Maven dependencyManagement section forces protobuf-java to use 2.5.0, but SBT is using 3.14.0.
> Snippet from Maven dependency tree
>  
> {noformat}
> [INFO] +- com.google.crypto.tink:tink:jar:1.6.0:compile
> [INFO] |  +- com.google.protobuf:protobuf-java:jar:2.5.0:compile    <--- 2.x
> [INFO] |  \- com.google.code.gson:gson:jar:2.8.6:compile{noformat}
>   Snippet from SBT dependency tree
> {noformat}
> [info]   +-com.google.crypto.tink:tink:1.6.0
> [info]   | +-com.google.code.gson:gson:2.8.6
> [info]   | +-com.google.protobuf:protobuf-java:3.14.0               <--- 3.x{noformat}
> The fix is updating SparkBuild.scala just like SPARK-11538 did with guava.  In addition we should comment on the need to keep the top-level pom.xml and SparkBuild.scala in sync as was done in SPARK-41247
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org