You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2020/01/29 09:26:00 UTC

[jira] [Updated] (BEAM-9215) FileBesedSink may suppress exceptions during close

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

Ismaël Mejía updated BEAM-9215:
-------------------------------
    Status: Open  (was: Triage Needed)

> FileBesedSink may suppress exceptions during close
> --------------------------------------------------
>
>                 Key: BEAM-9215
>                 URL: https://issues.apache.org/jira/browse/BEAM-9215
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Chamikara Madhusanka Jayalath
>            Assignee: Chamikara Madhusanka Jayalath
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We invoke closeChannelAndThrow() here when there's an exception when closing.
> [https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/FileBasedSink.java#L961]
>  
> But we suppress the exception if second close() trivially succeeds for some reason. We should raise the exception nevertheless allowing the runner to retry.



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