You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/05/31 09:07:41 UTC

[GitHub] [incubator-linkis] casionone opened a new issue, #2201: [Bug]JDBC plugin dependency conflict caused by hive-jdbc upgrade

casionone opened a new issue, #2201:
URL: https://github.com/apache/incubator-linkis/issues/2201

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-cg-engineConnplugin
   
   ### What happened + What you expected to happen
   
   After upgrade hive-jdbc from 1.2.1 to  2.3.4 
   Introduced more indirect dependencies on jetty and servlet, etc. causing conflicts
   1.2.1
   ```
   [INFO] +- org.apache.hive:hive-jdbc:jar:1.2.1:compile
   [INFO] |  +- org.apache.hive:hive-common:jar:1.2.1:compile
   [INFO] |  |  +- commons-cli:commons-cli:jar:1.2:compile
   [INFO] |  |  +- joda-time:joda-time:jar:2.5:compile
   [INFO] |  |  +- org.apache.commons:commons-compress:jar:1.4.1:compile
   [INFO] |  |  |  \- org.tukaani:xz:jar:1.0:compile
   [INFO] |  |  +- org.apache.ant:ant:jar:1.9.1:compile
   [INFO] |  |  |  \- org.apache.ant:ant-launcher:jar:1.9.1:compile
   [INFO] |  |  \- org.json:json:jar:20090211:compile
   [INFO] |  +- org.apache.hive:hive-service:jar:1.2.1:compile
   [INFO] |  |  +- net.sf.jpam:jpam:jar:1.1:compile
   [INFO] |  |  +- org.apache.thrift:libfb303:jar:0.9.2:compile
   [INFO] |  |  \- org.apache.curator:curator-recipes:jar:2.7.1:compile
   [INFO] |  +- org.apache.hive:hive-serde:jar:1.2.1:compile
   [INFO] |  |  +- org.apache.avro:avro:jar:1.7.5:compile
   [INFO] |  |  |  \- org.xerial.snappy:snappy-java:jar:1.0.5:compile
   [INFO] |  |  +- net.sf.opencsv:opencsv:jar:2.3:compile
   [INFO] |  |  \- com.twitter:parquet-hadoop-bundle:jar:1.6.0:compile
   [INFO] |  +- org.apache.hive:hive-metastore:jar:1.2.1:compile
   [INFO] |  |  +- com.jolbox:bonecp:jar:0.8.0.RELEASE:compile
   [INFO] |  |  +- org.apache.derby:derby:jar:10.14.2.0:compile
   [INFO] |  |  +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:compile
   [INFO] |  |  +- org.datanucleus:datanucleus-core:jar:3.2.10:compile
   [INFO] |  |  +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:compile
   [INFO] |  |  +- commons-pool:commons-pool:jar:1.6:compile
   [INFO] |  |  +- javax.jdo:jdo-api:jar:3.0.1:compile
   [INFO] |  |  |  \- javax.transaction:jta:jar:1.1:compile
   [INFO] |  |  \- org.antlr:antlr-runtime:jar:3.4:compile
   [INFO] |  |     \- org.antlr:stringtemplate:jar:3.2.1:compile
   [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
   [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
   [INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
   [INFO] |  +- org.apache.thrift:libthrift:jar:0.9.2:compile
   [INFO] |  +- org.apache.zookeeper:zookeeper:jar:3.5.9:compile
   [INFO] |  |  +- org.apache.zookeeper:zookeeper-jute:jar:3.5.9:compile
   [INFO] |  |  \- org.apache.yetus:audience-annotations:jar:0.5.0:compile
   [INFO] |  \- org.apache.curator:curator-framework:jar:2.7.1:compile
   [INFO] |     \- org.apache.curator:curator-client:jar:2.7.1:compile
   
   ```
   
   2.3.4
   ```
   [INFO] +- org.apache.hive:hive-jdbc:jar:2.3.4:compile
   [INFO] |  +- org.apache.hive:hive-common:jar:2.3.4:compile
   [INFO] |  |  +- org.apache.hive:hive-storage-api:jar:2.4.0:compile
   [INFO] |  |  +- commons-cli:commons-cli:jar:1.2:compile
   [INFO] |  |  +- org.apache.orc:orc-core:jar:1.3.3:compile
   [INFO] |  |  |  \- io.airlift:aircompressor:jar:0.3:compile
   [INFO] |  |  +- jline:jline:jar:2.14.6:compile
   [INFO] |  |  +- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:compile
   [INFO] |  |  +- joda-time:joda-time:jar:2.8.1:compile
   [INFO] |  |  +- org.apache.logging.log4j:log4j-web:jar:2.17.2:compile
   [INFO] |  |  +- org.apache.commons:commons-compress:jar:1.9:compile
   [INFO] |  |  +- org.apache.ant:ant:jar:1.9.1:compile
   [INFO] |  |  |  \- org.apache.ant:ant-launcher:jar:1.9.1:compile
   [INFO] |  |  +- com.tdunning:json:jar:1.8:compile
   [INFO] |  |  +- io.dropwizard.metrics:metrics-core:jar:4.1.22:compile
   [INFO] |  |  +- io.dropwizard.metrics:metrics-jvm:jar:4.1.22:compile
   [INFO] |  |  +- io.dropwizard.metrics:metrics-json:jar:4.1.22:compile
   [INFO] |  |  \- com.github.joshelser:dropwizard-metrics-hadoop-metrics2-reporter:jar:0.1.2:compile
   [INFO] |  +- org.apache.hive:hive-service:jar:2.3.4:compile
   [INFO] |  |  +- org.apache.hive:hive-llap-server:jar:2.3.4:compile
   [INFO] |  |  |  +- org.apache.hive:hive-llap-common:jar:2.3.4:compile
   [INFO] |  |  |  +- org.apache.hive:hive-llap-client:jar:2.3.4:compile
   [INFO] |  |  |  |  \- org.apache.curator:apache-curator:pom:2.7.1:compile
   [INFO] |  |  |  +- org.apache.hive:hive-llap-tez:jar:2.3.4:compile
   [INFO] |  |  |  +- org.apache.slider:slider-core:jar:0.90.2-incubating:compile
   [INFO] |  |  |  |  +- com.beust:jcommander:jar:1.30:compile
   [INFO] |  |  |  |  +- org.apache.hadoop:hadoop-client:jar:2.7.2:compile
   [INFO] |  |  |  |  |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.7.2:compile
   [INFO] |  |  |  |  |  |  +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.7.2:compile
   [INFO] |  |  |  |  |  |  |  \- org.apache.hadoop:hadoop-yarn-server-common:jar:2.7.2:compile
   [INFO] |  |  |  |  |  |  \- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.7.2:compile
   [INFO] |  |  |  |  |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.7.2:compile
   [INFO] |  |  |  |  |  \- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.7.2:compile
   [INFO] |  |  |  |  +- org.apache.hadoop:hadoop-yarn-registry:jar:2.7.1:compile
   [INFO] |  |  |  |  +- com.google.inject.extensions:guice-servlet:jar:3.0:compile
   [INFO] |  |  |  |  +- org.mortbay.jetty:jetty:jar:6.1.26:compile
   [INFO] |  |  |  |  \- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
   [INFO] |  |  |  +- org.apache.hive:hive-llap-common:test-jar:tests:2.3.4:compile
   [INFO] |  |  |  +- org.apache.hbase:hbase-hadoop2-compat:jar:1.1.1:compile
   [INFO] |  |  |  |  +- org.apache.commons:commons-math:jar:2.2:compile
   [INFO] |  |  |  |  \- com.yammer.metrics:metrics-core:jar:2.2.0:compile
   [INFO] |  |  |  +- org.apache.hbase:hbase-server:jar:1.1.1:compile
   [INFO] |  |  |  |  +- org.apache.hbase:hbase-procedure:jar:1.1.1:compile
   [INFO] |  |  |  |  |  \- org.apache.hbase:hbase-common:jar:tests:1.1.1:compile
   [INFO] |  |  |  |  +- org.apache.hbase:hbase-prefix-tree:jar:1.1.1:runtime
   [INFO] |  |  |  |  +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:compile
   [INFO] |  |  |  |  +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:compile
   [INFO] |  |  |  |  +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:compile
   [INFO] |  |  |  |  +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
   [INFO] |  |  |  |  \- com.lmax:disruptor:jar:3.3.0:compile
   [INFO] |  |  |  +- org.apache.hbase:hbase-common:jar:1.1.1:compile
   [INFO] |  |  |  \- org.apache.hbase:hbase-hadoop-compat:jar:1.1.1:compile
   [INFO] |  |  +- net.sf.jpam:jpam:jar:1.1:compile
   [INFO] |  |  +- tomcat:jasper-compiler:jar:5.5.23:compile
   [INFO] |  |  |  +- javax.servlet:jsp-api:jar:2.0:compile
   [INFO] |  |  |  \- ant:ant:jar:1.6.5:compile
   [INFO] |  |  +- tomcat:jasper-runtime:jar:5.5.23:compile
   [INFO] |  |  |  +- javax.servlet:servlet-api:jar:2.4:compile
   [INFO] |  |  |  \- commons-el:commons-el:jar:1.0:compile
   [INFO] |  |  +- org.apache.thrift:libfb303:jar:0.9.3:compile
   [INFO] |  |  +- org.apache.curator:curator-recipes:jar:2.7.1:compile
   [INFO] |  |  \- org.jamon:jamon-runtime:jar:2.3.1:compile
   [INFO] |  +- org.apache.hive:hive-serde:jar:2.3.4:compile
   [INFO] |  |  +- org.apache.avro:avro:jar:1.7.7:compile
   [INFO] |  |  |  \- org.xerial.snappy:snappy-java:jar:1.0.5:compile
   [INFO] |  |  +- net.sf.opencsv:opencsv:jar:2.3:compile
   [INFO] |  |  \- org.apache.parquet:parquet-hadoop-bundle:jar:1.8.1:compile
   [INFO] |  +- org.apache.hive:hive-metastore:jar:2.3.4:compile
   [INFO] |  |  +- javolution:javolution:jar:5.5.1:compile
   [INFO] |  |  +- org.apache.hbase:hbase-client:jar:1.1.1:compile
   [INFO] |  |  |  +- org.apache.hbase:hbase-annotations:jar:1.1.1:compile
   [INFO] |  |  |  +- org.apache.hbase:hbase-protocol:jar:1.1.1:compile
   [INFO] |  |  |  +- org.jruby.jcodings:jcodings:jar:1.0.8:compile
   [INFO] |  |  |  +- org.jruby.joni:joni:jar:2.1.2:compile
   [INFO] |  |  |  +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.7.2:compile
   [INFO] |  |  |  |  \- org.apache.hadoop:hadoop-yarn-common:jar:2.7.2:compile
   [INFO] |  |  |  \- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile
   [INFO] |  |  +- com.jolbox:bonecp:jar:0.8.0.RELEASE:compile
   [INFO] |  |  +- com.zaxxer:HikariCP:jar:3.4.5:compile
   [INFO] |  |  +- org.apache.derby:derby:jar:10.14.2.0:compile
   [INFO] |  |  +- org.datanucleus:datanucleus-api-jdo:jar:4.2.4:compile
   [INFO] |  |  +- org.datanucleus:datanucleus-core:jar:4.1.17:compile
   [INFO] |  |  +- org.datanucleus:datanucleus-rdbms:jar:4.1.19:compile
   [INFO] |  |  +- commons-pool:commons-pool:jar:1.6:compile
   [INFO] |  |  +- javax.jdo:jdo-api:jar:3.0.1:compile
   [INFO] |  |  |  \- javax.transaction:jta:jar:1.1:compile
   [INFO] |  |  +- org.datanucleus:javax.jdo:jar:3.2.0-m3:compile
   [INFO] |  |  |  \- javax.transaction:transaction-api:jar:1.1:compile
   [INFO] |  |  +- org.antlr:antlr-runtime:jar:3.5.2:compile
   [INFO] |  |  +- co.cask.tephra:tephra-api:jar:0.6.0:compile
   [INFO] |  |  +- co.cask.tephra:tephra-core:jar:0.6.0:compile
   [INFO] |  |  |  +- com.google.inject:guice:jar:3.0:compile
   [INFO] |  |  |  |  +- javax.inject:javax.inject:jar:1:compile
   [INFO] |  |  |  |  \- aopalliance:aopalliance:jar:1.0:compile
   [INFO] |  |  |  +- com.google.inject.extensions:guice-assistedinject:jar:3.0:compile
   [INFO] |  |  |  +- it.unimi.dsi:fastutil:jar:6.5.6:compile
   [INFO] |  |  |  +- org.apache.twill:twill-common:jar:0.6.0-incubating:compile
   [INFO] |  |  |  +- org.apache.twill:twill-core:jar:0.6.0-incubating:compile
   [INFO] |  |  |  |  \- org.apache.twill:twill-api:jar:0.6.0-incubating:compile
   [INFO] |  |  |  +- org.apache.twill:twill-discovery-api:jar:0.6.0-incubating:compile
   [INFO] |  |  |  +- org.apache.twill:twill-discovery-core:jar:0.6.0-incubating:compile
   [INFO] |  |  |  \- org.apache.twill:twill-zookeeper:jar:0.6.0-incubating:compile
   [INFO] |  |  \- co.cask.tephra:tephra-hbase-compat-1.0:jar:0.6.0:compile
   [INFO] |  +- org.apache.hive:hive-service-rpc:jar:2.3.4:compile
   [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
   [INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
   [INFO] |  +- org.apache.thrift:libthrift:jar:0.9.3:compile
   [INFO] |  +- org.apache.zookeeper:zookeeper:jar:3.5.9:compile
   [INFO] |  |  +- org.apache.zookeeper:zookeeper-jute:jar:3.5.9:compile
   [INFO] |  |  \- org.apache.yetus:audience-annotations:jar:0.5.0:compile
   [INFO] |  \- org.apache.curator:curator-framework:jar:2.7.1:compile
   [INFO] |     \- org.apache.curator:curator-client:jar:2.7.1:compile
   
   ```
   
   
   jetty and servlet should be  excluded  
   
   ### Relevent platform
   
   none
   
   ### Reproduction script
   
   none
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: notifications-unsubscribe@linkis.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] peacewong closed issue #2201: [Bug]JDBC plugin dependency conflict caused by hive-jdbc upgrade

Posted by GitBox <gi...@apache.org>.
peacewong closed issue #2201: [Bug]JDBC plugin dependency conflict caused by hive-jdbc upgrade 
URL: https://github.com/apache/incubator-linkis/issues/2201


-- 
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: notifications-unsubscribe@linkis.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org