You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yuanbo Liu (JIRA)" <ji...@apache.org> on 2016/11/25 03:41:59 UTC

[jira] [Created] (HDFS-11175) TransparentEncryption.md should be up-to-date since uppercase key names are unsupported.

Yuanbo Liu created HDFS-11175:
---------------------------------

             Summary: TransparentEncryption.md should be up-to-date since uppercase key names are unsupported.
                 Key: HDFS-11175
                 URL: https://issues.apache.org/jira/browse/HDFS-11175
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: documentation
            Reporter: Yuanbo Liu
            Priority: Trivial


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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org