You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/04/14 02:15:07 UTC

[GitHub] [incubator-dolphinscheduler] JunjianS opened a new issue #2414: Does ds support hive1 datasource?

JunjianS opened a new issue #2414: Does ds support hive1 datasource?
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414
 
 
   Does ds support hive1 datasource? when testing hive1 datasource, below exception occurrs.
   
   Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.thrift.TFilterTransport
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	... 89 common frames omitted
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #2414: Does ds support hive1 datasource?
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-613840085
 
 
   for now, DS lib dir use hive 2,  so maybe not support hive1 default,  and you can  try replace the relvant hive2 jars to 1, and try 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] shiliquan commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
shiliquan commented on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-696871190


   我用的1.3.2的也遇到了这个问题 ,请问怎么解决啊? 我是通过tar包来安装的,找不到pom.xml,
   ![Catch(09-23-01-07-41)](https://user-images.githubusercontent.com/42087586/93917218-48892000-fd3d-11ea-95db-97879ea8a0f7.jpg)
   


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

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



[GitHub] [incubator-dolphinscheduler] geosmart edited a comment on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
geosmart edited a comment on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-674349616


   org.apache.hadoop.hive.thrift.TFilterTransport is class in hive-shims-common-1.1.0.jar
   I resolve it by uncomment `hive-shims`  in dolphinscheduler-common/pom.xml
   thank  @felix-thinkingdata  
   
   ```
   		<dependency>
   			<groupId>org.apache.hive</groupId>
   			<artifactId>hive-jdbc</artifactId>
   			<exclusions>
   				<exclusion>
   					<artifactId>slf4j-log4j12</artifactId>
   					<groupId>org.slf4j</groupId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.eclipse.jetty.aggregate</groupId>
   					<artifactId>jetty-all</artifactId>
   				</exclusion>
   
   				<exclusion>
   					<groupId>org.apache.ant</groupId>
   					<artifactId>ant</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>io.dropwizard.metrics</groupId>
   					<artifactId>metrics-json</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>io.dropwizard.metrics</groupId>
   					<artifactId>metrics-jvm</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>com.github.joshelser</groupId>
   					<artifactId>dropwizard-metrics-hadoop-metrics2-reporter</artifactId>
   				</exclusion>
   
   				<exclusion>
   					<groupId>io.netty</groupId>
   					<artifactId>netty-all</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>com.google.code.gson</groupId>
   					<artifactId>gson</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>com.google.code.findbugs</groupId>
   					<artifactId>jsr305</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>io.dropwizard.metrics</groupId>
   					<artifactId>metrics-core</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>javax.servlet</groupId>
   					<artifactId>servlet-api</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.apache.avro</groupId>
   					<artifactId>avro</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.apache.commons</groupId>
   					<artifactId>commons-compress</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.apache.curator</groupId>
   					<artifactId>curator-client</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.apache.hadoop</groupId>
   					<artifactId>hadoop-auth</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.apache.hadoop</groupId>
   					<artifactId>hadoop-mapreduce-client-core</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.apache.hadoop</groupId>
   					<artifactId>hadoop-yarn-api</artifactId>
   				</exclusion>
   
   				<exclusion>
   					<groupId>org.apache.zookeeper</groupId>
   					<artifactId>zookeeper</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.codehaus.jackson</groupId>
   					<artifactId>jackson-jaxrs</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.codehaus.jackson</groupId>
   					<artifactId>jackson-xc</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>com.google.protobuf</groupId>
   					<artifactId>protobuf-java</artifactId>
   				</exclusion>
   
   				<exclusion>
   					<groupId>org.json</groupId>
   					<artifactId>json</artifactId>
   				</exclusion>
   				<exclusion>
   					<artifactId>log4j-slf4j-impl</artifactId>
   					<groupId>org.apache.logging.log4j</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>javax.servlet</artifactId>
   					<groupId>org.eclipse.jetty.orbit</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>servlet-api-2.5</artifactId>
   					<groupId>org.mortbay.jetty</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jasper-runtime</artifactId>
   					<groupId>tomcat</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>slider-core</artifactId>
   					<groupId>org.apache.slider</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hbase-server</artifactId>
   					<groupId>org.apache.hbase</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jersey-client</artifactId>
   					<groupId>com.sun.jersey</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jersey-core</artifactId>
   					<groupId>com.sun.jersey</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jersey-json</artifactId>
   					<groupId>com.sun.jersey</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jersey-server</artifactId>
   					<groupId>com.sun.jersey</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jersey-guice</artifactId>
   					<groupId>com.sun.jersey.contribs</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hbase-common</artifactId>
   					<groupId>org.apache.hbase</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hbase-hadoop2-compat</artifactId>
   					<groupId>org.apache.hbase</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hbase-client</artifactId>
   					<groupId>org.apache.hbase</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hbase-hadoop-compat</artifactId>
   					<groupId>org.apache.hbase</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>tephra-hbase-compat-1.0</artifactId>
   					<groupId>co.cask.tephra</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jaxb-api</artifactId>
   					<groupId>javax.xml.bind</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hive-llap-client</artifactId>
   					<groupId>org.apache.hive</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hive-llap-common</artifactId>
   					<groupId>org.apache.hive</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>hive-llap-server</artifactId>
   					<groupId>org.apache.hive</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>tephra-core</artifactId>
   					<groupId>co.cask.tephra</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>ant</artifactId>
   					<groupId>ant</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>stringtemplate</artifactId>
   					<groupId>org.antlr</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>antlr-runtime</artifactId>
   					<groupId>org.antlr</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>jsp-api</artifactId>
   					<groupId>javax.servlet</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>log4j-api</artifactId>
   					<groupId>org.apache.logging.log4j</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>log4j-core</artifactId>
   					<groupId>org.apache.logging.log4j</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>log4j-web</artifactId>
   					<groupId>org.apache.logging.log4j</groupId>
   				</exclusion>
   <!--				<exclusion>-->
   <!--					<artifactId>hive-shims</artifactId>-->
   <!--					<groupId>org.apache.hive</groupId>-->
   <!--				</exclusion>-->
   				<exclusion>
   					<artifactId>jasper-compiler</artifactId>
   					<groupId>tomcat</groupId>
   				</exclusion>
   				<exclusion>
   					<artifactId>log4j</artifactId>
   					<groupId>log4j</groupId>
   				</exclusion>
   			</exclusions>
   		</dependency>
   				 
   ```


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

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



[GitHub] [incubator-dolphinscheduler] geosmart edited a comment on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
geosmart edited a comment on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-674337911


   I have the some question ,
   I change dolphinscheduler root pom.xml by set hive-jdbc to 1.1.0 and hadoop to        2.6.0
   ```xml
   <hadoop.version>2.6.0</hadoop.version>
   <hive.jdbc.version>1.1.0</hive.jdbc.version>
   ```
   and face the `java.lang.NoClassDefFoundError: org/apache/hadoop/hive/thrift/TFilterTransport`
   ```java
   java.lang.NoClassDefFoundError: org/apache/hadoop/hive/thrift/TFilterTransport
   	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
   	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   	at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
   	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
   	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
   	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	at org.powermock.core.classloader.MockClassLoader.loadClassByThisClassLoader(MockClassLoader.java:100)
   	at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass1(DeferSupportingClassLoader.java:147)
   	at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:98)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:362)
   	at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:187)
   	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:163)
   	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
   	at java.sql.DriverManager.getConnection(DriverManager.java:664)
   	at java.sql.DriverManager.getConnection(DriverManager.java:247)
   	at org.apache.dolphinscheduler.api.service.DataSourceService.getConnection(DataSourceService.java:430)
   	at org.apache.dolphinscheduler.api.service.DataSourceService.checkConnection(DataSourceService.java:448)
   	at org.apache.dolphinscheduler.api.service.HiveDataSourceServiceTest.checkConnection(HiveDataSourceServiceTest.java:48)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:326)
   	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:89)
   	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:97)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:310)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:131)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.access$100(PowerMockJUnit47RunnerDelegateImpl.java:59)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner$TestExecutorStatement.evaluate(PowerMockJUnit47RunnerDelegateImpl.java:147)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:298)
   	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:87)
   	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:50)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:218)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:160)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:134)
   	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
   	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
   	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:136)
   	at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:117)
   	at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:57)
   	at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:59)
   	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
   	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
   	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
   	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
   	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
   Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.thrift.TFilterTransport
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	... 56 more
   
   ```
   any one getting this done?


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

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



[GitHub] [incubator-dolphinscheduler] geosmart commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
geosmart commented on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-674337911


   > Adapting to different Hive versions requires source code compilation and deployment。
   > You can modify the hive version in pom.
   > In FAQ doc end have a example change the hive version to 1.1.0.
   > ps:[https://dolphinscheduler.apache.org/en-us/docs/release/faq.html](url)
   
   url changed to https://dolphinscheduler.apache.org/en-us/docs/release/faq.html


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

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



[GitHub] [incubator-dolphinscheduler] Eights-Li commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
Eights-Li commented on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-619516374


   Adapting to different Hive versions requires source code compilation and deployment。
   You can modify the hive version in pom. 
   In FAQ doc end have a example change the hive version to 1.1.0.
   ps:[https://dolphinscheduler.apache.org/en-us/docs/release/faq.html](url)
   


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

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



[GitHub] [incubator-dolphinscheduler] shiliquan removed a comment on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
shiliquan removed a comment on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-696871190


   我用的1.3.2的也遇到了这个问题 ,请问怎么解决啊? 我是通过tar包来安装的,找不到pom.xml,
   ![Catch(09-23-01-07-41)](https://user-images.githubusercontent.com/42087586/93917218-48892000-fd3d-11ea-95db-97879ea8a0f7.jpg)
   


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

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



[GitHub] [incubator-dolphinscheduler] geosmart commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
geosmart commented on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-680916991


   just close


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

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



[GitHub] [incubator-dolphinscheduler] xingchun-chen closed issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
xingchun-chen closed issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414


   


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

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



[GitHub] [incubator-dolphinscheduler] geosmart removed a comment on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
geosmart removed a comment on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-680916991


   just close


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

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



[GitHub] [incubator-dolphinscheduler] shiliquan commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
shiliquan commented on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-696871190


   我用的1.3.2的也遇到了这个问题 ,请问怎么解决啊? 我是通过tar包来安装的,找不到pom.xml,
   ![Catch(09-23-01-07-41)](https://user-images.githubusercontent.com/42087586/93917218-48892000-fd3d-11ea-95db-97879ea8a0f7.jpg)
   


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

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



[GitHub] [incubator-dolphinscheduler] geosmart commented on issue #2414: Does ds support hive1 datasource?

Posted by GitBox <gi...@apache.org>.
geosmart commented on issue #2414:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2414#issuecomment-674349616


   org.apache.hadoop.hive.thrift.TFilterTransport is class in hive-exec
   I resolve it by add `hive-exec ` to root pom.xml
   thank  @felix-thinkingdata  
   
   ```
               <dependency>
                   <groupId>org.apache.hive</groupId>
                   <artifactId>hive-jdbc</artifactId>
                   <version>${hive.jdbc.version}</version>
               </dependency>
               <dependency>
                   <groupId>org.apache.hive</groupId>
                   <artifactId>hive-exec</artifactId>
                   <version>${hive.jdbc.version}</version>
                   <exclusions>
                       <exclusion>
                           <artifactId>jline</artifactId>
                           <groupId>jline</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>log4j</artifactId>
                           <groupId>log4j</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>antlr-runtime</artifactId>
                           <groupId>org.antlr</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>jackson-mapper-asl</artifactId>
                           <groupId>org.codehaus.jackson</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>jackson-core-asl</artifactId>
                           <groupId>org.codehaus.jackson</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>apache-log4j-extras</artifactId>
                           <groupId>log4j</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>slf4j-log4j12</artifactId>
                           <groupId>org.slf4j</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>hive-ant</artifactId>
                           <groupId>org.apache.hive</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>hive-shims-0.23</artifactId>
                           <groupId>org.apache.hive.shims</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>hive-shims</artifactId>
                           <groupId>org.apache.hive</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>calcite-core</artifactId>
                           <groupId>org.apache.calcite</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>janino</artifactId>
                           <groupId>org.codehaus.janino</groupId>
                       </exclusion>
                       <exclusion>
                           <artifactId>calcite-avatica</artifactId>
                           <groupId>org.apache.calcite</groupId>
                       </exclusion>
                   </exclusions>
               </dependency>
   				 
   ```


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

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