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-6490) Fix the keyid format for generated keys in FSNamesystem.createEncryptionZone
Date Thu, 19 Jun 2014 20:12:25 GMT

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

Charles Lamb updated HDFS-6490:
-------------------------------

    Attachment: HDFS-6490.001.patch

Attached is a patch which addresses this. Generated keys are formatted as:

hdfs://<nameserviceId>/<pathToEZ>/{UUID}

If DFSUtil.getNamenodeNameServiceId() returns null, then the <nameserviceId> is blank.

For example, the keyId for path "/src"

hdfs:///src/e4723785-c4f2-48bd-892e-4d80ef4d5af7

I don't find this format especially appealing and I'm happy to get other suggestions.


> Fix the keyid format for generated keys in FSNamesystem.createEncryptionZone 
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-6490
>                 URL: https://issues.apache.org/jira/browse/HDFS-6490
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode, security
>    Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>         Attachments: HDFS-6490.001.patch
>
>
> FSNamesystem.createEncryptionZone needs to create key ids with the format 
> hdfs://HOST:PORT/<pathOfEZ>



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

Mime
View raw message