[
https://issues.apache.org/jira/browse/HADOOP-11710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Busbey updated HADOOP-11710:
---------------------------------
Attachment: HADOOP-11710.3.patch.txt
patch v3, uses {{try ... finally}} to always set closed on first call to
close().
locally passed all the cypto tests:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.crypto.key.TestKeyProviderCryptoExtension
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.753 sec - in
org.apache.hadoop.crypto.key.TestKeyProviderCryptoExtension
Running org.apache.hadoop.crypto.TestCryptoCodec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 11.974 sec - in
org.apache.hadoop.crypto.TestCryptoCodec
Running org.apache.hadoop.crypto.TestCryptoStreams
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.953 sec -
in org.apache.hadoop.crypto.TestCryptoStreams
Running org.apache.hadoop.crypto.TestCryptoStreamsForLocalFS
Tests run: 14, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 15.692 sec -
in org.apache.hadoop.crypto.TestCryptoStreamsForLocalFS
Running org.apache.hadoop.crypto.TestCryptoStreamsNormal
Tests run: 14, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 6.46 sec - in
org.apache.hadoop.crypto.TestCryptoStreamsNormal
Running org.apache.hadoop.crypto.TestCryptoStreamsWithOpensslAesCtrCryptoCodec
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.867 sec -
in org.apache.hadoop.crypto.TestCryptoStreamsWithOpensslAesCtrCryptoCodec
Results :
Tests run: 61, Failures: 0, Errors: 0, Skipped: 15
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.cli.TestCryptoAdminCLI
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.867 sec - in
org.apache.hadoop.cli.TestCryptoAdminCLI
Running org.apache.hadoop.hdfs.crypto.TestHdfsCryptoStreams
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.574 sec -
in org.apache.hadoop.hdfs.crypto.TestHdfsCryptoStreams
Results :
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0
{code}
> Make CryptoOutputStream behave like DFSOutputStream wrt synchronization
> -----------------------------------------------------------------------
>
> Key: HADOOP-11710
> URL: https://issues.apache.org/jira/browse/HADOOP-11710
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs
> Affects Versions: 2.6.0
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Critical
> Attachments: HADOOP-11710.1.patch.txt, HADOOP-11710.2.patch.txt,
> HADOOP-11710.3.patch.txt
>
>
> per discussion on parent, as an intermediate solution make CryptoOutputStream
> behave like DFSOutputStream
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)