You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/09/15 02:35:00 UTC

[jira] [Created] (SPARK-29087) Use DelegatingServletContextHandler to avoid CCE

Dongjoon Hyun created SPARK-29087:
-------------------------------------

             Summary: Use DelegatingServletContextHandler to avoid CCE
                 Key: SPARK-29087
                 URL: https://issues.apache.org/jira/browse/SPARK-29087
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 2.4.0, 3.0.0
            Reporter: Dongjoon Hyun


SPARK-27122 fixes `ClassCastException` at `yarn` module by using `DelegatingServletContextHandler`. Initially, this was discovered with JDK9+, but the class path issues affected in JDK8, too. This issue aims to fix `streaming` module.

{code}
$ build/mvn test -pl streaming
...
UISeleniumSuite:
- attaching and detaching a Streaming tab *** FAILED ***
  java.lang.ClassCastException: org.sparkproject.jetty.servlet.ServletContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler
...
Tests: succeeded 337, failed 1, canceled 0, ignored 1, pending 0
*** 1 TEST FAILED ***
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org