GitHub user chamikaramj opened a pull request: https://github.com/apache/incubator-beam/pull/779
[BEAM-522] Fixes GcsIO.exists() to properly handle files that do not exist Currently this invocation fails for non existing files instead of returning false. Updates FileSink.finalize_write() so that we capture and log any transient errors that get thrown at the channel_factory.exists() call. You can merge this pull request into a Git repository by running: $ git pull https://github.com/chamikaramj/incubator-beam sink_finalize_fix_idempotency Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-beam/pull/779.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #779 ---- commit 792c3b5c79b6e979bc34bcf457f8a33cebd74daf Author: Chamikara Jayalath <chamik...@google.com> Date: 2016-08-04T01:25:41Z Fixes GcsIO.exists() to properly handle files that do not exist. Currently this invocation fails for non existing files instead of returning false. Updates FileSink.finalize_write() so that we capture and log any transient errors that get thrown at the channel_factory.exists() call. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---