Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/5144#discussion_r28455040
--- Diff:
core/src/test/scala/org/apache/spark/deploy/rest/StandaloneRestSubmitSuite.scala
---
@@ -563,20 +563,16 @@ private class SmarterMaster extends Actor {
private class FaultyStandaloneRestServer(
host: String,
requestedPort: Int,
+ masterConf: SparkConf,
masterActor: ActorRef,
- masterUrl: String,
- masterConf: SparkConf)
- extends StandaloneRestServer(host, requestedPort, masterActor,
masterUrl, masterConf) {
-
- protected override val contextToServlet = Map[String,
StandaloneRestServlet](
- s"$baseContext/create/*" -> new MalformedSubmitServlet,
- s"$baseContext/kill/*" -> new InvalidKillServlet,
- s"$baseContext/status/*" -> new ExplodingStatusServlet,
- "/*" -> new ErrorServlet
- )
+ masterUrl: String)
+ extends RestSubmissionServer(host, requestedPort, masterConf) {
+ val submitRequestServlet = new MalformedSubmitServlet
--- End diff --
new line above this, `protected override val`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]