You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/12/28 10:43:58 UTC

[jira] [Resolved] (SPARK-18960) Avoid double reading file which is being copied.

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

Sean Owen resolved SPARK-18960.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

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

> Avoid double reading file which is being copied.
> ------------------------------------------------
>
>                 Key: SPARK-18960
>                 URL: https://issues.apache.org/jira/browse/SPARK-18960
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Structured Streaming
>    Affects Versions: 2.0.2
>            Reporter: Genmao Yu
>             Fix For: 2.2.0
>
>
> In HDFS, when we copy a file into target directory, there will a temporary {{._COPY_}} file for a period of time. The duration depends on file size. If we do not skip this file, we will may read the same data for two times.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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