You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/12/29 22:01:03 UTC
[jira] [Commented] (HADOOP-15149) CryptoOutputStream should
implement StreamCapabilities
[ https://issues.apache.org/jira/browse/HADOOP-15149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306569#comment-16306569 ]
Hudson commented on HADOOP-15149:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13427 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13427/])
HADOOP-15149. CryptoOutputStream should implement StreamCapabilities. (xiao: rev 81127616c571b7cd25686e60a1105f96ca0626b7)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/TestCryptoStreams.java
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/CryptoStreamsTestBase.java
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/CryptoOutputStream.java
> CryptoOutputStream should implement StreamCapabilities
> ------------------------------------------------------
>
> Key: HADOOP-15149
> URL: https://issues.apache.org/jira/browse/HADOOP-15149
> Project: Hadoop Common
> Issue Type: Task
> Components: fs
> Affects Versions: 3.0.0
> Reporter: Mike Drob
> Assignee: Xiao Chen
> Fix For: 3.1.0, 2.10.0, 2.9.1, 3.0.1
>
> Attachments: HADOOP-15149.01.patch
>
>
> Running some tests with HBase on HDFS with encryption, we noticed that CryptoOutputStream doesn't implement StreamCapabilities.
> Specifically, we have a HdfsDataOutputStream wrapping a CryptoOutputStream. The calls to {{hasCapability}} on the HDOS will always return false, even though the COS could be wrapping something that supports it, as evidenced by the implementation of hsync and hflush here.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org