[
https://issues.apache.org/jira/browse/HADOOP-15712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16602325#comment-16602325
]
Thomas Marquardt commented on HADOOP-15712:
-------------------------------------------
>From the stack trace, when you see com.microsoft.azure.storage you are looking
>at WASB not ABFS, since it is WASB that uses the SDK. Although some of the
>ABFS test cases also use the Azure Storage SDK, the ABFS driver itself does
>not use the SDK. I have not looked at the test case in detail yet, but maybe
>it does not need to use WASB. I don't like intermingling the two, and ABFS is
>supposed to replace WASB.
> 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
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]