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 17:17:00 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-29087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved SPARK-29087.
-----------------------------------
    Fix Version/s: 3.0.0
                   2.4.5
       Resolution: Fixed

Issue resolved by pull request 25791
[https://github.com/apache/spark/pull/25791]

> Use DelegatingServletContextHandler to avoid CCE
> ------------------------------------------------
>
>                 Key: SPARK-29087
>                 URL: https://issues.apache.org/jira/browse/SPARK-29087
>             Project: Spark
>          Issue Type: Improvement
>          Components: DStreams, Spark Core
>    Affects Versions: 2.4.0, 3.0.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>             Fix For: 2.4.5, 3.0.0
>
>
> 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