We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a170d34 commit c3cd332Copy full SHA for c3cd332
core/src/main/scala/org/apache/spark/deploy/rest/mesos/MesosRestServer.scala
@@ -99,7 +99,7 @@ private[mesos] class MesosSubmitRequestServlet(
99
// cause spark-submit script to look for files in SPARK_HOME instead.
100
// We only need the ability to specify where to find spark-submit script
101
// which user can user spark.executor.home or spark.home configurations.
102
- val environmentVariables = request.environmentVariables.filter(!_.equals("SPARK_HOME"))
+ val environmentVariables = request.environmentVariables.filterKeys(!_.equals("SPARK_HOME"))
103
val name = request.sparkProperties.get("spark.app.name").getOrElse(mainClass)
104
105
// Construct driver description
0 commit comments