Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27122

YARN test failures in Java 9+

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 2.4.5, 3.0.0
    • Spark Core, YARN
    • None

    Description

      Currently on Java 11:

      YarnSchedulerBackendSuite:
      - RequestExecutors reflects node blacklist and is serializable
      - Respect user filters when adding AM IP filter *** FAILED ***
        java.lang.ClassCastException: org.spark_project.jetty.servlet.ServletContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler
        at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
        at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
        at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
        at scala.collection.TraversableLike.map(TraversableLike.scala:237)
        at scala.collection.TraversableLike.map$(TraversableLike.scala:230)
        at scala.collection.AbstractTraversable.map(Traversable.scala:108)
        at org.apache.spark.scheduler.cluster.YarnSchedulerBackend.$anonfun$addWebUIFilter$2(YarnSchedulerBackend.scala:183)
        at org.apache.spark.scheduler.cluster.YarnSchedulerBackend.$anonfun$addWebUIFilter$2$adapted(YarnSchedulerBackend.scala:174)
        at scala.Option.foreach(Option.scala:274)
        ...
      

      This looks like a classpath issue, probably ultimately related to the same classloader issues in https://issues.apache.org/jira/browse/SPARK-26839

      Attachments

        1. image-2019-03-14-09-34-20-592.png
          347 kB
          Ajith S
        2. image-2019-03-14-09-35-23-046.png
          120 kB
          Ajith S

        Issue Links

          Activity

            People

              ajithshetty Ajith S
              srowen Sean R. Owen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: