[ https://issues.apache.org/jira/browse/BEAM-9215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chamikara Madhusanka Jayalath resolved BEAM-9215. ------------------------------------------------- Fix Version/s: 2.20.0 Resolution: Fixed > 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 > Fix For: 2.20.0 > > Time Spent: 2h > 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)