You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/11/24 23:32:00 UTC

[jira] [Assigned] (SPARK-29999) Writing empty partition via DSv2 implementation of FileStreamSink throws FileNotFoundException

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

Dongjoon Hyun reassigned SPARK-29999:
-------------------------------------

    Assignee: Jungtaek Lim

> Writing empty partition via DSv2 implementation of FileStreamSink throws FileNotFoundException
> ----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-29999
>                 URL: https://issues.apache.org/jira/browse/SPARK-29999
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>            Priority: Critical
>
> I've discovered this issue while playing with Spark 3.0.0-preview.
> Unlike DSv1 version of file sink, DSv2 version of file sink lazily creates output file which leads empty partition to not actually create output file. The behavior itself is not a problem, but while committing task in ManifestFileCommitProtocol, `fs.getFileStatus` throws FileNotFoundException since the file is not created.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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