You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/09/03 12:17:00 UTC

[jira] [Created] (HADOOP-15712) ABFS to increase output stream close more robustly

Steve Loughran created HADOOP-15712:
---------------------------------------

             Summary: ABFS to increase output stream close more robustly
                 Key: HADOOP-15712
                 URL: https://issues.apache.org/jira/browse/HADOOP-15712
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/azure
            Reporter: Steve Loughran


if {{BlobOutputStream.close()}} raises an exception, then {{NativeAzureFsOutputStream.close()}} doesn't set it's {{this.out}} field to null, so close() can still be re-invoked, this time with an error.

the {{out.close()}} needs to be moved into the try/finally clause



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org