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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to