Github user sihuazhou commented on the issue:
https://github.com/apache/flink/pull/5982
Hi @StephanEwen, I added more tests for the
`FileSystem#createAtomically()`, concerning the `TwoPhaseFsDataoutputStream`,
can we introduce a `commit_on_close` option for it to make it easier to use? If
the `commit_on_close=true`, we commit the writing in `close()` atomically. If
the `commit_on_close=false`, we need user to call `commit()` manually, this
could be useful in try-with-resource situation, what do you think?
---