diff --git a/pom.xml b/pom.xml index 39278e86ccb2..59e5d743805c 100644 --- a/pom.xml +++ b/pom.xml @@ -134,10 +134,10 @@ 0.1.2 0.17.1 1.6.0.1 - 19.0 + 27.0-jre 2.4.11 1.3.166 - 3.1.0 + 3.1.4 ${basedir}/${hive.path.to.root}/testutils/hadoop 1.3 2.0.0-alpha4 @@ -157,7 +157,7 @@ 2.3.1 5.5.1 1.1 - 9.3.27.v20190418 + 9.4.20.v20190813 1.19 2.22.2 diff --git a/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java b/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java index 03d387850e18..474a48bfb339 100644 --- a/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java +++ b/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java @@ -20,7 +20,6 @@ import java.security.KeyStore; import java.util.Arrays; -import java.util.concurrent.ExecutorService; import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; @@ -89,11 +88,10 @@ protected void initServer() { // Start with minWorkerThreads, expand till maxWorkerThreads and reject // subsequent requests String threadPoolName = "HiveServer2-HttpHandler-Pool"; - ExecutorService executorService = new ThreadPoolExecutorWithOomHook(minWorkerThreads, + ThreadPoolExecutor threadPoolExecutorWithOomHook = new ThreadPoolExecutorWithOomHook(minWorkerThreads, maxWorkerThreads,workerKeepAliveTime, TimeUnit.SECONDS, new SynchronousQueue(), new ThreadFactoryWithGarbageCleanup(threadPoolName), oomHook); - - ExecutorThreadPool threadPool = new ExecutorThreadPool((ThreadPoolExecutor) executorService); + ExecutorThreadPool threadPool = new ExecutorThreadPool(threadPoolExecutorWithOomHook); // HTTP Server server = new Server(threadPool); diff --git a/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java b/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java index fd06db62766f..a3e4a41cb5c6 100644 --- a/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java +++ b/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java @@ -549,9 +549,9 @@ public static List createSchema(@Nullable List params) { HostAndPort hp = HostAndPort.fromString(host) .withDefaultPort(port); - LOG.info("Connecting to {}:{}", hp.getHostText(), hp.getPort()); + LOG.info("Connecting to {}:{}", hp.getHost(), hp.getPort()); - return new URI(THRIFT_SCHEMA, null, hp.getHostText(), hp.getPort(), + return new URI(THRIFT_SCHEMA, null, hp.getHost(), hp.getPort(), null, null, null); } diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml index 7b507d8ad7be..b636e1022f06 100644 --- a/standalone-metastore/pom.xml +++ b/standalone-metastore/pom.xml @@ -79,8 +79,8 @@ 0.1.2 3.1.0 - 19.0 - 3.1.0 + 27.0-jre + 3.1.4 2.6.1 2.10.5 5.5.1 diff --git a/storage-api/pom.xml b/storage-api/pom.xml index f3cf152feefb..10d9a5c1d90c 100644 --- a/storage-api/pom.xml +++ b/storage-api/pom.xml @@ -32,8 +32,8 @@ 1.8 1.8 1.1.3 - 19.0 - 3.1.0 + 27.0-jre + 3.1.4 4.13 5.6.3 5.6.3