[ https://issues.apache.org/jira/browse/BEAM-4861?focusedWorklogId=139898&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-139898 ]
ASF GitHub Bot logged work on BEAM-4861: ---------------------------------------- Author: ASF GitHub Bot Created on: 30/Aug/18 21:50 Start Date: 30/Aug/18 21:50 Worklog Time Spent: 10m Work Description: timrobertson100 commented on issue #6285: [BEAM-4861] Autocreate directories when doing an HDFS rename URL: https://github.com/apache/beam/pull/6285#issuecomment-417478467 Retest this please ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 139898) Time Spent: 20m (was: 10m) > 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: Tim Robertson > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > 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. > 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. > [https://github.com/apache/beam/blob/master/sdks/java/io/hadoop-file-system/src/main/java/org/apache/beam/sdk/io/hdfs/HadoopFileSystem.java#L148] -- This message was sent by Atlassian JIRA (v7.6.3#76005)