[ 
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)

Reply via email to