GitHub user 10110346 opened a pull request:
https://github.com/apache/spark/pull/18507
[SPARK-21283][core]FileOutputStream should be created as append mode
## What changes were proposed in this pull request?
`FileAppender` is used to write `stderr` and `stdout` files in
`ExecutorRunner`, But before writing `ErrorStream` into the the `stderr` file,
the header information has been written into ,if FileOutputStream is not
created as append mode, the header information will be lost
## How was this patch tested?
unit test case
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/10110346/spark wip-lx-0703
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18507.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18507
----
commit 9788b19d06800cce243a79acc189c3424912f393
Author: liuxian <[email protected]>
Date: 2017-07-03T03:27:09Z
FileOutputStream should be created as append mode
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]