Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5982
Thanks for preparing this.
I looked at the `TwoPhraseFSDatautputStream` - maybe we can make this
simpler. Do we need the distinction between phases? Is it not enough to behave
as a regular stream, just overriding `close()` to do `super.close()` +
`rename()`? That may be enough. When the stream is closed, all the writing
methods anyways fail with a "stream closed exception".
Also, we need this method to be implemented in all FileSystem subclasses.
Typos: "Phrase" --> "Phase"
---