Skip to content
Snippets Groups Projects
Commit d316af9c authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #821 from pwendell/print-launch-command

Print run command to stderr rather than stdout
parents 1f79d21f a7feb69a
No related branches found
No related tags found
No related merge requests found
......@@ -170,10 +170,10 @@ private[spark] class ExecutorRunner(
// Redirect its stdout and stderr to files
val stdout = new File(executorDir, "stdout")
Files.write(header, stdout, Charsets.UTF_8)
redirectStream(process.getInputStream, stdout)
val stderr = new File(executorDir, "stderr")
Files.write(header, stderr, Charsets.UTF_8)
redirectStream(process.getErrorStream, stderr)
// Wait for it to exit; this is actually a bad thing if it happens, because we expect to run
......
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