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

Print run command to stderr rather than stdout

parent 3970b580
No related branches found
No related tags found
No related merge requests found
......@@ -169,10 +169,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