diff --git a/pom.xml b/pom.xml
index 23999d30803a3..f1644e3a21ec0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -143,7 +143,7 @@ flexible messaging model and an intuitive client API.
5.1.1
1.11.774
1.10.2
- 2.10.1
+ 2.10.5
2.3.0
3.8.11.2
8.0.11
diff --git a/pulsar-sql/presto-distribution/LICENSE b/pulsar-sql/presto-distribution/LICENSE
index 537593eff9ab4..d96c061915227 100644
--- a/pulsar-sql/presto-distribution/LICENSE
+++ b/pulsar-sql/presto-distribution/LICENSE
@@ -250,23 +250,23 @@ The Apache Software License, Version 2.0
- netty-transport-native-unix-common-4.1.63.Final-linux-x86_64.jar
* Joda Time
- joda-time-2.10.5.jar
- - joda-time-2.10.1.jar
- * Jetty
- - http2-client-9.4.27.v20200227.jar
- - http2-common-9.4.27.v20200227.jar
- - http2-hpack-9.4.27.v20200227.jar
- - http2-http-client-transport-9.4.27.v20200227.jar
- - jetty-alpn-java-client-9.4.27.v20200227.jar
- - http2-server-9.4.27.v20200227.jar
- - jetty-alpn-client-9.4.27.v20200227.jar
- - jetty-client-9.4.27.v20200227.jar
- - jetty-http-9.4.27.v20200227.jar
- - jetty-io-9.4.27.v20200227.jar
- - jetty-jmx-9.4.27.v20200227.jar
- - jetty-security-9.4.27.v20200227.jar
- - jetty-server-9.4.27.v20200227.jar
- - jetty-servlet-9.4.27.v20200227.jar
- - jetty-util-9.4.27.v20200227.jar
+ * Jetty
+ - http2-client-9.4.39.v20210325.jar
+ - http2-common-9.4.39.v20210325.jar
+ - http2-hpack-9.4.39.v20210325.jar
+ - http2-http-client-transport-9.4.39.v20210325.jar
+ - jetty-alpn-client-9.4.39.v20210325.jar
+ - http2-server-9.4.39.v20210325.jar
+ - jetty-alpn-java-client-9.4.39.v20210325.jar
+ - jetty-client-9.4.39.v20210325.jar
+ - jetty-http-9.4.39.v20210325.jar
+ - jetty-io-9.4.39.v20210325.jar
+ - jetty-jmx-9.4.39.v20210325.jar
+ - jetty-security-9.4.39.v20210325.jar
+ - jetty-server-9.4.39.v20210325.jar
+ - jetty-servlet-9.4.39.v20210325.jar
+ - jetty-util-9.4.39.v20210325.jar
+ - jetty-util-ajax-9.4.39.v20210325.jar
* Apache BVal
- bval-jsr-2.0.0.jar
* Bytecode
@@ -364,7 +364,6 @@ The Apache Software License, Version 2.0
* Caffeine
- caffeine-2.6.2.jar
* Javax
- - javax.inject-1.jar
- javax.inject-1.jar
- javax.servlet-api-3.1.0.jar
- javax.servlet-api-4.0.1.jar
@@ -441,17 +440,8 @@ The Apache Software License, Version 2.0
- jackson-module-parameter-names-2.12.3.jar
* Java Assist
- javassist-3.25.0-GA.jar
- * Jetty
- - jetty-http-9.4.39.v20210325.jar
- - jetty-io-9.4.39.v20210325.jar
- - jetty-security-9.4.39.v20210325.jar
- - jetty-server-9.4.39.v20210325.jar
- - jetty-servlet-9.4.39.v20210325.jar
- - jetty-util-9.4.39.v20210325.jar
- - jetty-util-ajax-9.4.39.v20210325.jar
* Java Native Access
- jna-4.2.0.jar
- - jna-5.3.1.jar
* Java Object Layout: Core
- jol-core-0.2.jar
* Yahoo Datasketches
@@ -495,7 +485,6 @@ MIT License
- slf4j-jdk14-1.7.30.jar
* JCL 1.2 Implemented Over SLF4J
- jcl-over-slf4j-1.7.25.jar
- - jcl-over-slf4j-1.7.29.jar
* JUL to SLF4J Bridge
- jul-to-slf4j-1.7.25.jar
* Checker Qual
@@ -507,7 +496,6 @@ CDDL - 1.0
CDDL-1.1 -- licenses/LICENSE-CDDL-1.1.txt
* Java Annotations API
- - javax.annotation-api-1.3.2.jar
- javax.activation-1.2.0.jar
- javax.activation-api-1.2.0.jar
* HK2 - Dependency Injection Kernel
diff --git a/pulsar-sql/presto-distribution/pom.xml b/pulsar-sql/presto-distribution/pom.xml
index 66e8872b7b8d3..76fb25ac10ee1 100644
--- a/pulsar-sql/presto-distribution/pom.xml
+++ b/pulsar-sql/presto-distribution/pom.xml
@@ -23,29 +23,22 @@
4.0.0
- org.apache
- apache
- 23
+ org.apache.pulsar
+ pulsar-sql
+ 2.8.0-SNAPSHOT
- org.apache.pulsar
pulsar-presto-distribution
Pulsar SQL :: Pulsar Presto Distribution
- 2.8.0-SNAPSHOT
false
- 1.8
- 1.8
2.34
332
0.170
2.6
0.0.12
4.2.0
-
- io.prestosql.server.PrestoServer
- ${project.artifactId}
2.12.3
@@ -54,6 +47,7 @@
30.1-jre
2.12.1
2.5.1
+ 4.0.1
@@ -263,6 +257,51 @@
pom
import
+
+ org.eclipse.jetty
+ jetty-http
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-client
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-io
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-security
+ ${jetty.version}
+
+
+ org.eclipse.jetty
+ jetty-jmx
+ ${jetty.version}
+
+
+ org.eclipse.jetty.http2
+ http2-client
+ ${jetty.version}
+
+
+ org.eclipse.jetty.http2
+ http2-http-client-transport
+ ${jetty.version}
+
+
+ org.eclipse.jetty.http2
+ http2-server
+ ${jetty.version}
+
+
+ javax.servlet
+ javax.servlet-api
+ ${javax.servlet-api}
+
@@ -279,7 +318,7 @@
org.apache.maven.plugins
maven-assembly-plugin
- 3.3.0
+ ${maven-assembly-plugin.version}
false
true
@@ -300,28 +339,6 @@
-
- org.codehaus.mojo
- templating-maven-plugin
- 1.0.0
-
-
- filter-src
-
- filter-sources
-
- package
-
- ${project.build.directory}/${project.artifactId}/bin/
- ${project.build.directory}/${project.artifactId}/bin/
- true
-
- ${*}
-
-
-
-
-
com.mycila
license-maven-plugin
diff --git a/pulsar-sql/presto-distribution/src/assembly/assembly.xml b/pulsar-sql/presto-distribution/src/assembly/assembly.xml
index 171b5435e5c8d..4f1bac20dcee4 100644
--- a/pulsar-sql/presto-distribution/src/assembly/assembly.xml
+++ b/pulsar-sql/presto-distribution/src/assembly/assembly.xml
@@ -34,6 +34,12 @@
.
644
+
+
+ launcher.properties
+ bin/
+ 644
+
diff --git a/pulsar-sql/presto-distribution/src/main/resources/launcher.properties b/pulsar-sql/presto-distribution/src/main/resources/launcher.properties
new file mode 100644
index 0000000000000..0f997c459542a
--- /dev/null
+++ b/pulsar-sql/presto-distribution/src/main/resources/launcher.properties
@@ -0,0 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+main-class=io.prestosql.server.PrestoServer
+process-name=pulsar-presto-distribution
\ No newline at end of file
diff --git a/tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/PrestoWorkerContainer.java b/tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/PrestoWorkerContainer.java
index fe08b81c510f7..0105cd8392677 100644
--- a/tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/PrestoWorkerContainer.java
+++ b/tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/PrestoWorkerContainer.java
@@ -42,6 +42,8 @@ public PrestoWorkerContainer(String clusterName, String hostname) {
@Override
protected void afterStart() {
+ DockerUtils.runCommandAsyncWithLogging(this.dockerClient, this.getContainerId(),
+ "tail", "-f", "/pulsar/lib/presto/var/log/launcher.log");
DockerUtils.runCommandAsyncWithLogging(this.dockerClient, this.getContainerId(),
"tail", "-f", "/var/log/pulsar/presto_worker.log");
DockerUtils.runCommandAsyncWithLogging(this.dockerClient, this.getContainerId(),