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

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

    [ https://issues.apache.org/jira/browse/SPARK-21283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071896#comment-16071896 ] 

Apache Spark commented on SPARK-21283:
--------------------------------------

User '10110346' has created a pull request for this issue:
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
>
> `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