njnu-seafish commented on PR #17493:
URL: 
https://github.com/apache/dolphinscheduler/pull/17493#issuecomment-3279211238

   **for my env, hive version is 3.1.2 and enable kerberos, the following error 
appears:**
   
   Caused by: java.lang.NoClassDefFoundError: 
org/apache/hadoop/hive/thrift/TFilterTransport
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:493)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:75)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:389)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:383)
   at java.security.AccessController.doPrivileged(Native Method)
   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)
   at 
org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:601)
   at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:341)
   at org.apache.hive.jdbc.HiveConnection.(HiveConnection.java:228)
   at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:247)
   at 
org.apache.dolphinscheduler.plugin.datasource.hive.param.HiveDataSourceProcessor.getConnection(HiveDataSourceProcessor.java:139)
   
   **Please add the following dependencies:**            
               <dependency>
                   <groupId>org.apache.hive</groupId>
                   <artifactId>hive-exec</artifactId>
                   <version>3.1.2</version>
               </dependency>
   
   I'm uncertain if Hive 2.x or other versions need this in kerberos env, so 
I'll skip adding the dependency for now.


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