adoroszlai opened a new pull request, #9412:
URL: https://github.com/apache/ozone/pull/9412

   ## What changes were proposed in this pull request?
   
   `ozone-filesystem-hadoop*` jars include protobuf without relocation.  This 
causes problem for some components (e.g. HBase) which have their own version of 
protobuf.
   
   Changes in this PR:
   
   - Relocate protobuf in the fat filesystem jars to avoid conflict.
   - Remove `ozone-filesystem-hadoop3-client`, which is no longer needed.  The 
only difference between the two `hadoop3` jars was the shading of protobuf.
   
   (This is split from #9113 for easier review.)
   
   https://issues.apache.org/jira/browse/HDDS-14056
   
   ## How was this patch tested?
   
   Verified that Protobuf is relocated in the fat jars, like:
   
   ```
   $ unzip -t 
hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/share/ozone/lib/ozone-filesystem-hadoop3-2.2.0-SNAPSHOT.jar
 | grep 'AbstractMessage.class'       
       testing: 
org/apache/ozone/shaded/com/google/protobuf/AbstractMessage.class   OK
       testing: 
org/apache/ozone/shaded/org/apache/ratis/thirdparty/com/google/protobuf/AbstractMessage.class
   OK
   ```
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/19849120482


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to