HDFS-9784. Example usage is not correct in Transparent Encryption document. 
Contributed by Ohnishi Takashi.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/60d2011b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/60d2011b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/60d2011b

Branch: refs/heads/yarn-2877
Commit: 60d2011b7c0fe55b8bc44a141660d3e2df37a68d
Parents: a0b1f10
Author: Akira Ajisaka <aajis...@apache.org>
Authored: Wed Feb 10 03:30:26 2016 +0900
Committer: Akira Ajisaka <aajis...@apache.org>
Committed: Wed Feb 10 03:30:26 2016 +0900

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                      | 3 +++
 .../hadoop-hdfs/src/site/markdown/TransparentEncryption.md       | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/60d2011b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 9b36319..670a9f8 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -2794,6 +2794,9 @@ Release 2.7.3 - UNRELEASED
     HDFS-9752. Permanent write failures may happen to slow writers during
     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
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/60d2011b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md 
b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md
index 05e4249..c764eed 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/TransparentEncryption.md
@@ -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.
 
     # 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
     hadoop fs -mkdir /zone
-    hdfs crypto -createZone -keyName myKey -path /zone
+    hdfs crypto -createZone -keyName mykey -path /zone
 
     # chown it to the normal user
     hadoop fs -chown myuser:myuser /zone

Reply via email to