You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Udi Meiri (JIRA)" <ji...@apache.org> on 2018/03/06 02:11:00 UTC
[jira] [Created] (BEAM-3782) Do not ignore FileSystem errors and
document expected behavior
Udi Meiri created BEAM-3782:
-------------------------------
Summary: Do not ignore FileSystem errors and document expected behavior
Key: BEAM-3782
URL: https://issues.apache.org/jira/browse/BEAM-3782
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Reporter: Udi Meiri
Assignee: Udi Meiri
copy/rename:
* it should be an error if the dst file exists
* it should be an error if the src file doesn't exist
delete:
* it should be an error if the file/dir doesn't exist
FileBasedSink.finalize_write:
* should check (src, dst) pairs for existence:
** src only - regular rename
** dst only - skip rename
** both src and dst - if files don't match on metadata (checksum or size), delete dst then rename, otherwise delete src and skip rename
** neither exist - return error: bad state
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)