morningman opened a new pull request, #65733: URL: https://github.com/apache/doris/pull/65733
Remove the two consumers of the ~122MB org.apache.doris:hive-catalog-shade fat jar under fe/be-java-extensions. 1. Delete the dead avro-scanner module. Its AvroJNIScanner is never routed to (no FE code references the class name it would be loaded by), it is absent from the shared preload-extensions jar, and its only regression test (test_tvf_avro.groovy) is entirely commented out. Removes the module, its be-java-extensions/pom.xml and build.sh registrations, and the dead test plus its .out data. 2. Slim java-udf: replace the hive-catalog-shade dependency with a new minimal hive-udf-shade module that shades hive-exec:3.1.3:core down to only the Hive UDF contract classes a user UDF extends -- ql.exec.UDF and its load-time closure (DefaultUDFMethodResolver/UDFMethodResolver), ql.exec.Description, and ql.metadata.HiveException. The shaded jar is 20 KB / 10 classes; java-udf's fat jar goes from 12807 hive classes to 10 (all metastore/serde2/objectinspector/relocated-thrift dropped). The fe/pom.xml version pin and the fe-core / fe-connector-hms / fe-common consumers still depend on hive-catalog-shade and are intentionally left untouched (out of scope). -- 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]
