[ 
https://issues.apache.org/jira/browse/HADOOP-15149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305738#comment-16305738
 ] 

Mike Drob commented on HADOOP-15149:
------------------------------------

Note that CryptoFSDataOutputStream extends FSDataOutputStream so that one 
should be behaving properly and delegating, but I'm not sure what the 
difference is and how we end up with one instead of the other from our code 
calling {{fs.create(path, false)}}

> CryptoOutputStream doesn't 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to