You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2017/07/04 01:18:01 UTC

[jira] [Resolved] (SPARK-21283) FileOutputStream should be created as append mode

     [ https://issues.apache.org/jira/browse/SPARK-21283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-21283.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

Issue resolved by pull request 18507
[https://github.com/apache/spark/pull/18507]

> FileOutputStream should be created as append mode
> -------------------------------------------------
>
>                 Key: SPARK-21283
>                 URL: https://issues.apache.org/jira/browse/SPARK-21283
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: liuxian
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> `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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org