This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 962aef9f8b5 [bugfix](paimon)merge meta-inf/services for paimon 
FileIOLoader (#33166)
962aef9f8b5 is described below

commit 962aef9f8b526444220cac53b37575387bfce307
Author: wuwenchi <wuwenchi...@hotmail.com>
AuthorDate: Wed Apr 3 09:28:08 2024 +0800

    [bugfix](paimon)merge meta-inf/services for paimon FileIOLoader (#33166)
    
    We introduced paimon's oss and s3 packages, but did not register them in 
meta-info/service. As a result, when be used the s3  or oss interface, an error 
was reported and the class could not be found(`Could not find a file io 
implementation for scheme 's3' in the classpath.`).
    
    FYI:
    
https://stackoverflow.com/questions/47310215/merging-meta-inf-services-files-with-maven-assembly-plugin
    
https://stackoverflow.com/questions/1607220/how-can-i-merge-resource-files-in-a-maven-assembly
---
 .../preload-extensions/src/main/resources/package-deps.xml         | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/fe/be-java-extensions/preload-extensions/src/main/resources/package-deps.xml 
b/fe/be-java-extensions/preload-extensions/src/main/resources/package-deps.xml
index 1fe322c0bf3..52d0628ae3f 100644
--- 
a/fe/be-java-extensions/preload-extensions/src/main/resources/package-deps.xml
+++ 
b/fe/be-java-extensions/preload-extensions/src/main/resources/package-deps.xml
@@ -38,4 +38,11 @@ under the License.
             </unpackOptions>
         </dependencySet>
     </dependencySets>
+
+    <containerDescriptorHandlers>
+        <containerDescriptorHandler>
+            <handlerName>metaInf-services</handlerName>
+        </containerDescriptorHandler>
+    </containerDescriptorHandlers>
+
 </assembly>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to