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 2016/12/21 06:33:58 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15766274#comment-15766274 ] 

Apache Spark commented on SPARK-18960:
--------------------------------------

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