You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by ro...@apache.org on 2022/11/28 03:55:04 UTC

[incubator-uniffle] 02/02: [ISSUE-228] Fix the problem of protobuf-java incorrect dependency at compile time (#362)

This is an automated email from the ASF dual-hosted git repository.

roryqi pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git

commit 22c780e1518f26eea4b78c680f7d03bbd54956ae
Author: yanli <ha...@msn.com>
AuthorDate: Mon Nov 28 11:13:41 2022 +0800

    [ISSUE-228] Fix the problem of protobuf-java incorrect dependency at compile time (#362)
    
    ### What changes were proposed in this pull request?
    1. We specified the version number of `protobuf-java` in the `client-spark/spark3/pom.xml` file.
    
    ### Why are the changes needed?
    More reasonable. https://github.com/apache/incubator-uniffle/issues/228
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    We compiled in the test environment and verified the correctness of the `rss-client-spark3-0.6.0-shaded.jar` package.
---
 client-spark/spark3/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/client-spark/spark3/pom.xml b/client-spark/spark3/pom.xml
index 858d2968..fa7e6365 100644
--- a/client-spark/spark3/pom.xml
+++ b/client-spark/spark3/pom.xml
@@ -34,6 +34,11 @@
     <name>Apache Uniffle Client (Spark 3)</name>
 
     <dependencies>
+        <dependency>
+            <groupId>com.google.protobuf</groupId>
+            <artifactId>protobuf-java</artifactId>
+            <version>${protobuf.version}</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.spark</groupId>
             <artifactId>spark-core_${scala.binary.version}</artifactId>