You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by zh...@apache.org on 2019/12/31 11:07:11 UTC

[submarine] branch master updated: SUBMARINE-328. Submarine server can't handle http request

This is an automated email from the ASF dual-hosted git repository.

zhouquan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new 546c5dc  SUBMARINE-328. Submarine server can't handle http request
546c5dc is described below

commit 546c5dcaddf51b075e5bf27414a41371000fe6b9
Author: Zac Zhou <zh...@apache.org>
AuthorDate: Tue Dec 31 17:49:10 2019 +0800

    SUBMARINE-328. Submarine server can't handle http request
    
    ### What is this PR for?
    When we connect to submarine server, submarine throws the follow errors:
    ```
    java.lang.NoSuchMethodError:
    javax.servlet.http.HttpServletRequest.getServletContext()Ljavax/servlet/ServletContext
    ```
    
    ### What type of PR is it?
    Bug Fix
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-328
    
    ### How should this be tested?
    https://travis-ci.org/yuanzac/hadoop-submarine/builds/631243684?utm_source=github_status&utm_medium=notification
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    Author: Zac Zhou <zh...@apache.org>
    
    Closes #137 from yuanzac/topic/SUBMARINE-328 and squashes the following commits:
    
    b239459 [Zac Zhou] SUBMARINE-328. Submarine server can't handle http request.
---
 .../server-submitter/submitter-yarn/pom.xml        | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/submarine-server/server-submitter/submitter-yarn/pom.xml b/submarine-server/server-submitter/submitter-yarn/pom.xml
index 2fd0d3f..23e18f4 100644
--- a/submarine-server/server-submitter/submitter-yarn/pom.xml
+++ b/submarine-server/server-submitter/submitter-yarn/pom.xml
@@ -128,6 +128,18 @@
           <groupId>com.sun.jersey.contribs</groupId>
           <artifactId>jersey-guice</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>jetty</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>jetty-util</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.servlet</groupId>
+          <artifactId>servlet-api</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -211,6 +223,22 @@
           <groupId>com.sun.jersey</groupId>
           <artifactId>jersey-server</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>jetty</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>jetty-util</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>jetty-sslengine</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.servlet</groupId>
+          <artifactId>servlet-api</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org