HDFS-9483. Documentation does not cover use of "swebhdfs" as URL scheme for SSL-secured WebHDFS. Contributed by Surendra Singh Lilhore.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4c8f9e13 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4c8f9e13 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4c8f9e13 Branch: refs/heads/YARN-2915 Commit: 4c8f9e130230457fc897ed7a2a09e14d078be90a Parents: 02766b6 Author: Chris Nauroth <[email protected]> Authored: Thu Jan 5 15:04:47 2017 -0800 Committer: Chris Nauroth <[email protected]> Committed: Thu Jan 5 15:04:47 2017 -0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md | 5 +++++ hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm | 1 + 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/4c8f9e13/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md index 27fd13a..50b4360 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md +++ b/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=... +**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. http://git-wip-us.apache.org/repos/asf/hadoop/blob/4c8f9e13/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm ---------------------------------------------------------------------- diff --git a/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm b/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm index fc26321..dbf0e8d 100644 --- a/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm +++ b/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, 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
