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

   ### 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
   
   doris: 2.0-beta
   paimon: 0.4
   hive: 3.1.2
   
   ### What's Wrong?
   
   Using doris to query the paimon table, the client returns the following 
exception:
   
   ERROR 1105 (HY000): errCode = 2, detailMessage = 
(172.19.0.12)[CANCELLED][INTERNAL_ERROR]failed to init reader for file 
/data/paimon/default.db/test_table, err: [INTERNAL_ERROR]RuntimeException: 
java.lang.reflect.InvocationTargetException
   CAUSED BY: InvocationTargetException: null
   CAUSED BY: NoClassDefFoundError: org/apache/thrift/transport/TFramedTransport
   CAUSED BY: ClassNotFoundException: 
org.apache.thrift.transport.TFramedTransport
   
   be log:
   `2023-07-05 15:44:34 W0705 07:44:34.527288   605 jni-util.cpp:239] 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   2023-07-05 15:44:34     at 
org.apache.paimon.hive.HiveCatalog.createClient(HiveCatalog.java:580)
   2023-07-05 15:44:34     at 
org.apache.paimon.hive.HiveCatalog.<init>(HiveCatalog.java:112)
   2023-07-05 15:44:34     at 
org.apache.doris.paimon.PaimonJniScanner.create(PaimonJniScanner.java:160)
   2023-07-05 15:44:34     at 
org.apache.doris.paimon.PaimonJniScanner.getCatalog(PaimonJniScanner.java:172)
   2023-07-05 15:44:34     at 
org.apache.doris.paimon.PaimonJniScanner.open(PaimonJniScanner.java:97)
   2023-07-05 15:44:34 Caused by: java.lang.reflect.InvocationTargetException
   2023-07-05 15:44:34     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2023-07-05 15:44:34     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   2023-07-05 15:44:34     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2023-07-05 15:44:34     at java.lang.reflect.Method.invoke(Method.java:498)
   2023-07-05 15:44:34     at 
org.apache.paimon.hive.HiveCatalog.createClient(HiveCatalog.java:572)
   2023-07-05 15:44:34     ... 4 more
   2023-07-05 15:44:34 Caused by: java.lang.NoClassDefFoundError: 
org/apache/thrift/transport/TFramedTransport
   2023-07-05 15:44:34     at java.lang.Class.forName0(Native Method)
   2023-07-05 15:44:34     at java.lang.Class.forName(Class.java:348)
   2023-07-05 15:44:34     at 
org.apache.hadoop.hive.metastore.utils.JavaUtils.getClass(JavaUtils.java:52)
   2023-07-05 15:44:34     at 
org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:146)
   2023-07-05 15:44:34     at 
org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:119)
   2023-07-05 15:44:34     ... 9 more
   2023-07-05 15:44:34 Caused by: java.lang.ClassNotFoundException: 
org.apache.thrift.transport.TFramedTransport
   2023-07-05 15:44:34     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:387)
   2023-07-05 15:44:34     at 
java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   2023-07-05 15:44:34     at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
   2023-07-05 15:44:34     at 
java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   2023-07-05 15:44:34     ... 14 more`
   
   ### What You Expected?
   
   The query performed as expected and without exception
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: [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