hadoop/hadoop-common-project
Steve Loughran e21cb8f96e HADOOP-16785. Improve wasb and abfs resilience on double close() calls.
This hardens the wasb and abfs output streams' resilience to being invoked
in/after close().

wasb:
  Explicity raise IOEs on operations invoked after close,
  rather than implicitly raise NPEs.
  This ensures that invocations which catch and swallow IOEs will perform as
  expected.

abfs:
  When rethrowing an IOException in the close() call, explicitly wrap it
  with a new instance of the same subclass.
  This is needed to handle failures in try-with-resources clauses, where
  any exception in closed() is added as a suppressed exception to the one
  thrown in the try {} clause
  *and you cannot attach the same exception to itself*

Contributed by Steve Loughran.

Change-Id: Ic44b494ff5da332b47d6c198ceb67b965d34dd1b
2020-01-08 12:04:11 +00:00
..
hadoop-annotations Preparing for 3.2.2-SNAPSHOT development. 2019-09-07 08:52:08 +05:30
hadoop-auth Preparing for 3.2.2-SNAPSHOT development. 2019-09-07 08:52:08 +05:30
hadoop-auth-examples Preparing for 3.2.2-SNAPSHOT development. 2019-09-07 08:52:08 +05:30
hadoop-common HADOOP-16785. Improve wasb and abfs resilience on double close() calls. 2020-01-08 12:04:11 +00:00
hadoop-kms HADOOP-15686. Supress bogus AbstractWadlGeneratorGrammarGenerator in KMS stderr. Contributed by Wei-Chiu Chuang. 2019-11-20 13:08:40 -08:00
hadoop-minikdc Preparing for 3.2.2-SNAPSHOT development. 2019-09-07 08:52:08 +05:30
hadoop-nfs Preparing for 3.2.2-SNAPSHOT development. 2019-09-07 08:52:08 +05:30
pom.xml Preparing for 3.2.2-SNAPSHOT development. 2019-09-07 08:52:08 +05:30