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

Alejandro Abdelnur commented on HDFS-6134:
------------------------------------------

on create() the NN creates the INode for the file and sets the IV and the EDEK 
as xAttrs, then it returns them as part of the create response. A single client 
to NN RPC is done for the create().

If the client does is responsible for creating the new EDEK, then you need 2 
RPCs on create(), the first one to 'create' the file, the second one is (now 
that you know that your file is to be encrypted because of the first RPC call 
response) to set the EDEK in the INode.

On the current behavior, keep in mind the call to the KMS to get  EDEK is not 
done during file create(), the NN has a warm cache of EDEKs that are being 
replenished asynchronously from file create() calls.

> Transparent data at rest encryption
> -----------------------------------
>
>                 Key: HDFS-6134
>                 URL: https://issues.apache.org/jira/browse/HDFS-6134
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: security
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Charles Lamb
>         Attachments: HDFS-6134.001.patch, HDFS-6134.002.patch, 
> HDFS-6134_test_plan.pdf, HDFSDataatRestEncryption.pdf, 
> HDFSDataatRestEncryptionProposal_obsolete.pdf, 
> HDFSEncryptionConceptualDesignProposal-2014-06-20.pdf
>
>
> Because of privacy and security regulations, for many industries, sensitive 
> data at rest must be in encrypted form. For example: the health­care industry 
> (HIPAA regulations), the card payment industry (PCI DSS regulations) or the 
> US government (FISMA regulations).
> This JIRA aims to provide a mechanism to encrypt HDFS data at rest that can 
> be used transparently by any application accessing HDFS via Hadoop Filesystem 
> Java API, Hadoop libhdfs C library, or WebHDFS REST API.
> The resulting implementation should be able to be used in compliance with 
> different regulation requirements.



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

Reply via email to