Browse Source

HDFS-9483. Documentation does not cover use of "swebhdfs" as URL scheme for SSL-secured WebHDFS. Contributed by Surendra Singh Lilhore.

(cherry picked from commit 4c8f9e130230457fc897ed7a2a09e14d078be90a)
(cherry picked from commit 9c61858ee754b167a90533375e85ca5bde3cdce1)
Chris Nauroth 8 years ago
parent
commit
15e89634a5

+ 5 - 0
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md

@@ -200,6 +200,11 @@ In the REST API, the prefix "`/webhdfs/v1`" is inserted in the path and a query
 
       http://<HOST>:<HTTP_PORT>/webhdfs/v1/<PATH>?op=...
 
+**Note** that if WebHDFS is secured with SSL, then the scheme should be "`swebhdfs://`".
+
+      swebhdfs://<HOST>:<HTTP_PORT>/<PATH>
+
+
 ### HDFS Configuration Options
 
 Below are the HDFS configuration options for WebHDFS.

+ 1 - 0
hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm

@@ -418,6 +418,7 @@ $H3 Copying Between Versions of HDFS
   HftpFileSystem, as webhdfs is available for both read and write operations,
   DistCp can be run on both source and destination cluster.
   Remote cluster is specified as `webhdfs://<namenode_hostname>:<http_port>`.
+  (Use the "`swebhdfs://`" scheme when webhdfs is secured with SSL).
   When copying between same major versions of Hadoop cluster (e.g. between 2.X
   and 2.X), use hdfs protocol for better performance.