[
https://issues.apache.org/jira/browse/HDFS-11175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695296#comment-15695296
]
Yuanbo Liu commented on HDFS-11175:
-----------------------------------
[~ajisakaa] Thanks for your comments.
I was following 2.7.2 docs to setup kms and found this issue.
> Document uppercase key names are not supported in TransparentEncryption.md
> --------------------------------------------------------------------------
>
> Key: HDFS-11175
> URL: https://issues.apache.org/jira/browse/HDFS-11175
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: documentation
> Reporter: Yuanbo Liu
> Assignee: Yiqun Lin
> Priority: Minor
> Labels: newbie
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: HDFS-11175.001.patch
>
>
> After HADOOP-11311, key names has been restricted and uppercase key names are
> not allowed. This section of {{TransparentEncryption.md}} should be modified.
> {quote}
> # As the normal user, create a new encryption key
> hadoop key create myKey
> # As the super user, create a new empty directory and make it an encryption
> zone
> hadoop fs -mkdir /zone
> hdfs crypto -createZone -keyName myKey -path /zone
> # chown it to the normal user
> hadoop fs -chown myuser:myuser /zone
> # As the normal user, put a file in, read it out
> hadoop fs -put helloWorld /zone
> hadoop fs -cat /zone/helloWorld
> {quote}
> "myKey" is not allowed here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]