Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
Reviewed
Description
After HADOOP-11311, key names has been restricted and uppercase key names are not allowed. This section of TransparentEncryption.md should be modified.
- 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
"myKey" is not allowed here.