Browse Source

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

Chris Nauroth 8 years ago
parent
commit
4c8f9e1302

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

@@ -211,6 +211,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=...
       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
 ### HDFS Configuration Options
 
 
 Below are the HDFS configuration options for WebHDFS.
 Below are the HDFS configuration options for WebHDFS.

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

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