Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.5-alpha
-
None
-
Reviewed
Description
Currently if one closes an OutputStream obtained from FileSystem#create and then calls write(...) on that closed stream, the write will appear to succeed without error though no data will be written to HDFS. A subsequent call to close will also silently appear to succeed. We should make it so that attempts to write to closed streams fails fast.