commonkmg opened a new issue, #26938:
URL: https://github.com/apache/doris/issues/26938

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   1.2.7
   
   ### What's Wrong?
   
   when using s3a to export data , the following error occurred
   [DEBUG] 2023-11-01 11:55:44,346 
method:org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3226)
   looking for configuration option fs.s3a.impl
   Exception in thread "pool-2-thread-4" java.lang.NoClassDefFoundError: 
shade/doris/hadoop/com/google/common/util/concurrent/ListeningExecutorService
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:348)
           at 
org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2365)
           at 
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2330)
           at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2426)
           at 
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3227)
           at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3259)
           at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:472)
           at 
org.apache.doris.broker.hdfs.FileSystemManager.getS3AFileSystem(FileSystemManager.java:474)
           at 
org.apache.doris.broker.hdfs.FileSystemManager.getFileSystem(FileSystemManager.java:216)
           at 
org.apache.doris.broker.hdfs.FileSystemManager.openWriter(FileSystemManager.java:1253)
           at 
org.apache.doris.broker.hdfs.HDFSBrokerServiceImpl.openWriter(HDFSBrokerServiceImpl.java:208)
           at 
org.apache.doris.thrift.TPaloBrokerService$Processor$openWriter.getResult(TPaloBrokerService.java:1015)
           at 
org.apache.doris.thrift.TPaloBrokerService$Processor$openWriter.getResult(TPaloBrokerService.java:995)
           at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
           at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
           at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:313)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.ClassNotFoundException: 
shade.doris.hadoop.com.google.common.util.concurrent.ListeningExecutorService
           at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   
   ### What You Expected?
   
   fix the bug
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   I found a possible cause。hadoop-shade-2 relocation and S3AFileSystem refer 
is not the same。
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to