yihua opened a new issue, #19813:
URL: https://github.com/apache/hudi/issues/19813

   `hudi-datahub-sync-bundle` shades in `io.acryl:datahub-client-java8`, which 
carries its own copy of Avro (450 `org/apache/avro/*.class` entries in 
`datahub-client-java8-0.15.0rc20.jar`). Nothing in the shade config filters 
them, so they land in the bundle unrelocated.
   
   Any consumer that puts the bundle on its classpath ahead of its own Avro 
then binds against DataHub's stale copy instead of the Avro the rest of the 
application uses. The failure is silent and surfaces far from the cause, as a 
missing or differently-typed method on `org.apache.avro.Schema`.
   
   The shade config already filters signature files and `*.proto`. It needs one 
more filter excluding `org/apache/avro/**` from the DataHub client, so the 
bundle stops carrying a second Avro.
   


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