From f057c72eb003bfdd94d0da5bfe9038ede5129091 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Thu, 13 Sep 2018 22:54:15 +0100 Subject: [PATCH] Dependecy upgrades (#409) --- dev/deps/spark-deps-hadoop-palantir | 72 +++++------ dev/sbt-checkstyle | 1 + pom.xml | 119 ++++-------------- .../cli/thrift/ThriftHttpCLIService.java | 3 +- 4 files changed, 64 insertions(+), 131 deletions(-) diff --git a/dev/deps/spark-deps-hadoop-palantir b/dev/deps/spark-deps-hadoop-palantir index 1ef24cebb2ed2..bc2d9f1ec3103 100644 --- a/dev/deps/spark-deps-hadoop-palantir +++ b/dev/deps/spark-deps-hadoop-palantir @@ -1,5 +1,5 @@ HikariCP-java7-2.4.12.jar -RoaringBitmap-0.6.43.jar +RoaringBitmap-0.7.16.jar activation-1.1.1.jar aircompressor-0.10.jar antlr4-runtime-4.7.jar @@ -26,7 +26,7 @@ classmate-1.1.0.jar commons-beanutils-1.9.3.jar commons-beanutils-core-1.8.0.jar commons-cli-1.2.jar -commons-codec-1.10.jar +commons-codec-1.11.jar commons-collections-3.2.2.jar commons-compiler-3.0.9.jar commons-compress-1.8.1.jar @@ -34,13 +34,13 @@ commons-configuration-1.6.jar commons-crypto-1.0.0.jar commons-digester-1.8.jar commons-httpclient-3.1.jar -commons-io-2.4.jar +commons-io-2.6.jar commons-lang-2.6.jar -commons-lang3-3.5.jar +commons-lang3-3.8.jar commons-logging-1.2.jar -commons-math3-3.4.1.jar -commons-net-3.1.jar -compress-lzf-1.0.3.jar +commons-math3-3.6.1.jar +commons-net-3.6.jar +compress-lzf-1.0.4.jar core-1.1.2.jar curator-client-2.7.1.jar curator-framework-2.7.1.jar @@ -86,22 +86,22 @@ htrace-core4-4.1.0-incubating.jar httpclient-4.5.6.jar httpcore-4.4.10.jar ivy-2.4.0.jar -jackson-annotations-2.9.5.jar -jackson-core-2.9.5.jar +jackson-annotations-2.9.6.jar +jackson-core-2.9.6.jar jackson-core-asl-1.9.13.jar -jackson-databind-2.9.5.jar -jackson-dataformat-cbor-2.9.5.jar -jackson-dataformat-yaml-2.9.5.jar -jackson-datatype-guava-2.9.5.jar -jackson-datatype-jdk8-2.9.5.jar -jackson-datatype-joda-2.9.5.jar -jackson-datatype-jsr310-2.9.5.jar +jackson-databind-2.9.6.jar +jackson-dataformat-cbor-2.9.6.jar +jackson-dataformat-yaml-2.9.6.jar +jackson-datatype-guava-2.9.6.jar +jackson-datatype-jdk8-2.9.6.jar +jackson-datatype-joda-2.9.6.jar +jackson-datatype-jsr310-2.9.6.jar jackson-jaxrs-1.9.13.jar jackson-mapper-asl-1.9.13.jar -jackson-module-afterburner-2.9.5.jar -jackson-module-jaxb-annotations-2.9.5.jar -jackson-module-paranamer-2.9.5.jar -jackson-module-scala_2.11-2.9.5.jar +jackson-module-afterburner-2.9.6.jar +jackson-module-jaxb-annotations-2.9.6.jar +jackson-module-paranamer-2.9.6.jar +jackson-module-scala_2.11-2.9.6.jar jackson-xc-1.9.13.jar janino-3.0.9.jar javassist-3.20.0-GA.jar @@ -125,15 +125,15 @@ jersey-server-2.25.1.jar jetty-6.1.26.jar jetty-sslengine-6.1.26.jar jetty-util-6.1.26.jar -jetty-util-9.4.8.v20171121.jar -joda-time-2.9.9.jar +jetty-util-9.4.12.v20180830.jar +joda-time-2.10.jar json-smart-1.3.1.jar json4s-ast_2.11-3.5.3.jar json4s-core_2.11-3.5.3.jar json4s-jackson_2.11-3.5.3.jar json4s-scalap_2.11-3.5.3.jar jsp-api-2.1.jar -jsr305-3.0.1.jar +jsr305-3.0.2.jar jtransforms-2.4.0.jar jul-to-slf4j-1.7.25.jar kafka-clients-0.11.0.0.jar @@ -142,24 +142,24 @@ kubernetes-client-3.0.0.jar kubernetes-model-2.0.0.jar leveldbjni-all-1.8.jar log4j-1.2.17.jar -logging-interceptor-3.9.1.jar -lz4-java-1.4.0.jar +logging-interceptor-3.11.0.jar +lz4-java-1.4.1.jar machinist_2.11-0.6.1.jar macro-compat_2.11-1.1.1.jar -metrics-core-3.2.5.jar -metrics-graphite-3.2.5.jar +metrics-core-3.2.6.jar +metrics-graphite-3.2.6.jar metrics-influxdb-1.2.2.jar -metrics-json-3.2.5.jar -metrics-jvm-3.2.5.jar +metrics-json-3.2.6.jar +metrics-jvm-3.2.6.jar minlog-1.3.0.jar mssql-jdbc-6.2.1.jre7.jar netty-3.10.6.Final.jar -netty-all-4.1.17.Final.jar +netty-all-4.1.29.Final.jar nimbus-jose-jwt-4.41.1.jar -objenesis-2.5.1.jar +objenesis-2.6.jar okhttp-2.7.5.jar -okhttp-3.9.1.jar -okio-1.13.0.jar +okhttp-3.11.0.jar +okio-1.15.0.jar opencsv-2.3.jar orc-core-1.5.2-nohive.jar orc-mapreduce-1.5.2-nohive.jar @@ -185,12 +185,12 @@ shapeless_2.11-2.3.2.jar slf4j-api-1.7.25.jar slf4j-log4j12-1.7.25.jar snakeyaml-1.18.jar -snappy-java-1.1.7.1.jar +snappy-java-1.1.7.2.jar spire-macros_2.11-0.13.0.jar spire_2.11-0.13.0.jar stax-api-1.0-2.jar stax2-api-3.1.4.jar -stream-2.7.0.jar +stream-2.9.6.jar univocity-parsers-2.7.3.jar validation-api-1.1.0.Final.jar woodstox-core-5.0.3.jar @@ -199,4 +199,4 @@ xmlenc-0.52.jar xz-1.5.jar zjsonpatch-0.3.0.jar zookeeper-3.4.6.jar -zstd-jni-1.3.2-2.jar +zstd-jni-1.3.5-3.jar diff --git a/dev/sbt-checkstyle b/dev/sbt-checkstyle index 8821a7c0e4ccf..1fb913d1f4805 100755 --- a/dev/sbt-checkstyle +++ b/dev/sbt-checkstyle @@ -21,6 +21,7 @@ # with failure (either resolution or compilation); the "q" makes SBT quit. ERRORS=$(echo -e "q\n" \ | build/sbt \ + -Phadoop-palantir \ -Pkinesis-asl \ -Pmesos \ -Pkafka-0-8 \ diff --git a/pom.xml b/pom.xml index 8d762e92f5339..8458a8742045e 100644 --- a/pom.xml +++ b/pom.xml @@ -132,20 +132,17 @@ 1.2.1 10.12.1.1 1.10.1-palantir.3 - 8.18.0 - 3.9.1 + 3.11.0 2.7.5 - 1.13.0 - 2.3.0 - 1.58 - 9.4.8.v20171121 + 1.15.0 + 9.4.12.v20180830 1.5.2 nohive 3.1.0 0.9.3 2.4.0 2.0.8 - 3.2.5 + 3.2.6 1.0.0 0.4.0 1.8.2 @@ -162,33 +159,33 @@ 4.4.10 3.1 - 3.4.1 + 3.6.1 3.2.2 2.11.12 2.11 1.9.13 - 2.9.5 - 2.9.5 - 1.1.7.1 + 2.9.6 + 2.9.6 + 1.1.7.2 1.1.2 1.2.0-incubating - 1.10 - 2.4 + 1.11 + 2.6 2.6 - 3.5 + 3.8 1.8.1 1.6 3.2.10 1.1.1 - 2.5.1 + 2.6 3.0.9 2.25.1 - 2.9.9 + 2.10 3.5.2 - 3.0.1 + 3.0.2 0.9.3 4.7 3.4 @@ -369,61 +366,6 @@ okhttp ${okhttp.version} - - - com.squareup.retrofit2 - retrofit - ${retrofit.version} - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-annotations - - - - - com.squareup.retrofit2 - converter-jackson - ${retrofit.version} - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-annotations - - - - - com.squareup.retrofit2 - converter-scalars - ${retrofit.version} - - - org.bouncycastle - bcpkix-jdk15on - ${bouncycastle.version} - - - org.bouncycastle - bcprov-jdk15on - - ${bouncycastle.version} - @@ -666,7 +608,7 @@ com.ning compress-lzf - 1.0.3 + 1.0.4 org.xerial.snappy @@ -676,17 +618,17 @@ org.lz4 lz4-java - 1.4.0 + 1.4.1 com.github.luben zstd-jni - 1.3.2-2 + 1.3.5-3 com.clearspring.analytics stream - 2.7.0 + 2.9.6 @@ -709,17 +651,17 @@ org.roaringbitmap RoaringBitmap - 0.6.43 + 0.7.16 commons-net commons-net - 3.1 + 3.6 io.netty netty-all - 4.1.17.Final + 4.1.29.Final io.netty @@ -734,27 +676,27 @@ io.dropwizard.metrics metrics-core - ${codahale.metrics.version} + ${dropwizard.metrics.version} io.dropwizard.metrics metrics-jvm - ${codahale.metrics.version} + ${dropwizard.metrics.version} io.dropwizard.metrics metrics-json - ${codahale.metrics.version} + ${dropwizard.metrics.version} io.dropwizard.metrics metrics-ganglia - ${codahale.metrics.version} + ${dropwizard.metrics.version} io.dropwizard.metrics metrics-graphite - ${codahale.metrics.version} + ${dropwizard.metrics.version} io.dropwizard @@ -3138,15 +3080,6 @@ - hadoop-cloud diff --git a/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java b/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java index 341a7fdbb59b8..a10245b372d71 100644 --- a/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java +++ b/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java @@ -19,7 +19,6 @@ package org.apache.hive.service.cli.thrift; import java.util.Arrays; -import java.util.concurrent.ExecutorService; import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; @@ -65,7 +64,7 @@ public void run() { // Server thread pool // Start with minWorkerThreads, expand till maxWorkerThreads and reject subsequent requests String threadPoolName = "HiveServer2-HttpHandler-Pool"; - ExecutorService executorService = new ThreadPoolExecutor(minWorkerThreads, maxWorkerThreads, + ThreadPoolExecutor executorService = new ThreadPoolExecutor(minWorkerThreads, maxWorkerThreads, workerKeepAliveTime, TimeUnit.SECONDS, new SynchronousQueue(), new ThreadFactoryWithGarbageCleanup(threadPoolName)); ExecutorThreadPool threadPool = new ExecutorThreadPool(executorService);