[ https://issues.apache.org/jira/browse/HDFS-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3755: ----------------------------------------- Target Version/s: 2.0.2-alpha, 3.0.0 (was: 3.0.0, 2.0.2-alpha) Release Note: This is an incompatible change: Before this change, if a file is already open for write by one client, and another client calls fs.create() with overwrite=true, an AlreadyBeingCreatedException is thrown. After this change, the file will be deleted and the new file will be created successfully. Hadoop Flags: Reviewed (was: Incompatible change,Reviewed) Added release note. > Creating an already-open-for-write file with overwrite=true fails > ----------------------------------------------------------------- > > Key: HDFS-3755 > URL: https://issues.apache.org/jira/browse/HDFS-3755 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.0.0-alpha > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 3.0.0, 2.0.2-alpha > > Attachments: hdfs-3755.txt, hdfs-3755.txt > > > If a file is already open for write by one client, and another client calls > {{fs.create()}} with {{overwrite=true}}, the file should be deleted and the > new file successfully created. Instead, it is currently throwing > AlreadyBeingCreatedException. > This is a regression since branch-1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira