Steve Vaughan created SPARK-42188:
-------------------------------------

             Summary: 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
             Fix For: 3.2.3


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to