steveloughran commented on PR #7011:
URL: https://github.com/apache/hadoop/pull/7011#issuecomment-2351041617

   @shameersss1 exactly. which means that fs.create(path, false).close() is 
equivalent to other filesystems, though
   ```
   st = fs.create(path, false)
   st.write("I think I have exclusive access")
   st.close()
   ```
   is not quite the same as the failure is on line 3, not line 1. But the 
overall behaviour holds: if the write completes then you created the file and 
nobody has overwritten it.
   
   file rename would be equivalent; dir rename not though.
   
   Been distracted by this. something about "latest SDKs keep telling us off 
for using the SDK" which is complicating my life and makes we really reluctant 
to pick up a new SDK unless we are sure it fixes some longstanding issues. I 
don't see why everyone is working on features when significant bugs exist and 
every upgrade causes regressions in behaviour.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to