This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Description
Run integration-test with the following command:
build/mvn integration-test -Pkubernetes -Pkubernetes-integration-tests -pl resource-managers/kubernetes/integration-tests -am
And get the following class cast exception
ClientSuite:
- The client should configure the pod with the submission steps.
- The client should create the secondary Kubernetes resources.
- The client should attach the driver container with the appropriate JVM options.
- Waiting for app completion should stall on the watcher
ResourceStagingServerSuite:
- Accept file and jar uploads and downloads
- Enable SSL on the server *** FAILED ***
java.lang.ClassCastException: org.spark_project.jetty.util.ssl.SslContextFactory cannot be cast to org.eclipse.jetty.util.ssl.SslContextFactory
at org.apache.spark.deploy.rest.kubernetes.ResourceStagingServer$$anonfun$1.apply(ResourceStagingServer.scala:61)
at scala.Option.map(Option.scala:146)
at org.apache.spark.deploy.rest.kubernetes.ResourceStagingServer.start(ResourceStagingServer.scala:61)
at org.apache.spark.deploy.rest.kubernetes.ResourceStagingServerSuite.org$apache$spark$deploy$rest$kubernetes$ResourceStagingServerSuite$$startServer(ResourceStagingServerSuite.scala:145)
at org.apache.spark.deploy.rest.kubernetes.ResourceStagingServerSuite$$anonfun$4.apply$mcV$sp(ResourceStagingServerSuite.scala:92)
at org.apache.spark.deploy.rest.kubernetes.ResourceStagingServerSuite$$anonfun$4.apply(ResourceStagingServerSuite.scala:78)
at org.apache.spark.deploy.rest.kubernetes.ResourceStagingServerSuite$$anonfun$4.apply(ResourceStagingServerSuite.scala:78)
at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
...