aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala3
-rwxr-xr-xrun2
2 files changed, 2 insertions, 3 deletions
diff --git a/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala b/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala
index 1dcdf20960..88c5b5bbd6 100644
--- a/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala
+++ b/core/src/main/scala/spark/deploy/worker/ExecutorRunner.scala
@@ -164,8 +164,7 @@ private[spark] class ExecutorRunner(
env.put("SPARK_LAUNCH_WITH_SCALA", "0")
process = builder.start()
- val header = "Spark Executor Command: %s\n======================================\n\n"
- .format(command.mkString(" "))
+ val header = "Spark Executor Command: %s\n%s\n\n".format(command.mkString(" "), "=" * 40)
// Redirect its stdout and stderr to files
val stdout = new File(executorDir, "stdout")
diff --git a/run b/run
index 8bbde1a027..3868332c90 100755
--- a/run
+++ b/run
@@ -168,7 +168,7 @@ fi
command="$RUNNER -cp \"$CLASSPATH\" $EXTRA_ARGS $@"
if [ "$SPARK_PRINT_LAUNCH_COMMAND" == "1" ]; then
echo "Spark Command: $command"
- echo "======================================"
+ echo "========================================"
echo
fi