You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Jozef Vilcek (JIRA)" <ji...@apache.org> on 2018/07/25 14:09:00 UTC

[jira] [Updated] (BEAM-4861) Hadoop Filesystem silently fails

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

Jozef Vilcek updated BEAM-4861:
-------------------------------
    Description: 
Hi,

beam Filesystem operations copy, rename and delete are void in SDK. Hadoop native filesystem operations are not and returns void. Current implementation in Beam ignores the result and pass as long as exception is not thrown.

My question is, if this is by design or a bug?

I got burned by this when using 'rename' to do a 'move' operation on HDFS. If target directory does not exists, operations returns false and do not touch the file.

  was:
Hi,

beam Filesystem operations copy, rename and delete are void in SDK. Hadoop native filesystem operations are not and returns void. Current implementation in Beam ignores the result and pass as long as exception is not thrown.

My question is, if this is by design or a bug.

I got burned by this when using 'rename' to do a 'move' operation on HDFS. If target directory does not exists, operations returns false and do not touch the file.


> Hadoop Filesystem silently fails
> --------------------------------
>
>                 Key: BEAM-4861
>                 URL: https://issues.apache.org/jira/browse/BEAM-4861
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-hadoop
>            Reporter: Jozef Vilcek
>            Assignee: Chamikara Jayalath
>            Priority: Major
>
> Hi,
> beam Filesystem operations copy, rename and delete are void in SDK. Hadoop native filesystem operations are not and returns void. Current implementation in Beam ignores the result and pass as long as exception is not thrown.
> My question is, if this is by design or a bug?
> I got burned by this when using 'rename' to do a 'move' operation on HDFS. If target directory does not exists, operations returns false and do not touch the file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)