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

This commit is contained in:
Chris Nauroth 2017-01-05 15:04:47 -08:00
parent 02766b6c22
commit 4c8f9e1302
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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.