You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uniffle.apache.org by GitBox <gi...@apache.org> on 2022/11/27 02:14:23 UTC

[GitHub] [incubator-uniffle] leixm commented on issue #228: [Problem] Build against Spark 3.2.x,but when I request the Uniffle it does not work,error is "org.apache.uniffle.com.google.protobuf.GeneratedMessageV3.isStringEmpty(Ljava/lang/Object;)Z"

leixm commented on issue #228:
URL: https://github.com/apache/incubator-uniffle/issues/228#issuecomment-1328154421

   > > @leixm @smallzhongfeng @tsface Is there this problem? Do we need a pr to fix this issue?
   > 
   > @jerqi Currently, i have only tested version 0.6.0. Like I mentioned above, I just specified the `protobuf-java` version as `3.19.2` in the pom file.
   > 
   > I checked the compile-time log, and I guessed that it was caused by the unspecified version of `protobuf-java` when compiling the shade jar package of the `rss-client-spark3` module.
   > 
   > I can upgrade to the latest version, if the problem still exists, I will try to submit a PR.
   
   You're right, it's a problem, we avoid this problem by excluding protobuf-java in the internal version, like:
   `client-spark/spark3/pom.xml`
   ```xml
           <dependency>
               <groupId>org.apache.spark</groupId>
               <artifactId>spark-core_${scala.binary.version}</artifactId>
               <version>${spark.version}</version>
               <scope>provided</scope>
               <exclusions>
                   <exclusion>
                       <groupId>com.google.protobuf</groupId>
                       <artifactId>protobuf-java</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
   ```


-- 
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: dev-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org