Skip to content
Snippets Groups Projects
Commit f3660d5a authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Make output formatting consistent between bash/scala

parent ad94fbb3
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment