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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to