You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Charles Lamb (JIRA)" <ji...@apache.org> on 2014/06/02 21:19:02 UTC

[jira] [Updated] (HDFS-6392) Wire crypto streams for encrypted files in DFSClient

     [ https://issues.apache.org/jira/browse/HDFS-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Lamb updated HDFS-6392:
-------------------------------

    Attachment: HDFS-6392.3.patch

Yi, you are right about getWrappedStream(). I forgot that your implementation in Crypto{In,Out}putStream delegated #hflush and #hsync down. I also removed the code in HdfsDataInputStream#getWrappedStream().

I believe the latest .3 patch addresses all of yours and Andrews concerns.

>  Wire crypto streams for encrypted files in DFSClient
> -----------------------------------------------------
>
>                 Key: HDFS-6392
>                 URL: https://issues.apache.org/jira/browse/HDFS-6392
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode, security
>            Reporter: Alejandro Abdelnur
>            Assignee: Charles Lamb
>         Attachments: HDFS-6392.1.patch, HDFS-6392.2.patch, HDFS-6392.3.patch
>
>
> When the DFS client gets a key material and IV for a file being opened/created, it should wrap the stream with a crypto stream initialized with the key material and IV.



--
This message was sent by Atlassian JIRA
(v6.2#6252)