hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Lamb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6392) Wire crypto streams for encrypted files in DFSClient
Date Mon, 02 Jun 2014 19:19:02 GMT

     [ 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

View raw message