HDFS-9784. Example usage is not correct in Transparent Encryption document. Contributed by Ohnishi Takashi.
(cherry picked from commit60d2011b7c
) (cherry picked from commitcb53dfcc95
)
This commit is contained in:
parent
f943bf0e22
commit
e4769775b0
|
@ -1816,6 +1816,9 @@ Release 2.7.3 - UNRELEASED
|
||||||
HDFS-9752. Permanent write failures may happen to slow writers during
|
HDFS-9752. Permanent write failures may happen to slow writers during
|
||||||
datanode rolling upgrades (Walter Su via kihwal)
|
datanode rolling upgrades (Walter Su via kihwal)
|
||||||
|
|
||||||
|
HDFS-9784. Example usage is not correct in Transparent Encryption document.
|
||||||
|
(Takashi Ohnishi via aajisaka)
|
||||||
|
|
||||||
Release 2.7.2 - 2016-01-25
|
Release 2.7.2 - 2016-01-25
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -182,11 +182,11 @@ Example usage
|
||||||
These instructions assume that you are running as the normal user or HDFS superuser as is appropriate. Use `sudo` as needed for your environment.
|
These instructions assume that you are running as the normal user or HDFS superuser as is appropriate. Use `sudo` as needed for your environment.
|
||||||
|
|
||||||
# As the normal user, create a new encryption key
|
# As the normal user, create a new encryption key
|
||||||
hadoop key create myKey
|
hadoop key create mykey
|
||||||
|
|
||||||
# As the super user, create a new empty directory and make it an encryption zone
|
# As the super user, create a new empty directory and make it an encryption zone
|
||||||
hadoop fs -mkdir /zone
|
hadoop fs -mkdir /zone
|
||||||
hdfs crypto -createZone -keyName myKey -path /zone
|
hdfs crypto -createZone -keyName mykey -path /zone
|
||||||
|
|
||||||
# chown it to the normal user
|
# chown it to the normal user
|
||||||
hadoop fs -chown myuser:myuser /zone
|
hadoop fs -chown myuser:myuser /zone
|
||||||
|
|
Loading…
Reference in New Issue