From b094f8b5897dc9a998bb7e85a7b5e97df0c5b5a8 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Thu, 13 Aug 2015 13:38:24 -0700 Subject: [PATCH] HDFS-7649. Multihoming docs should emphasize using hostnames in configurations. (Contributed by Brahma Reddy Battula) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/site/markdown/HdfsMultihoming.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 7c9b72bb831..0565b170f00 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -440,6 +440,9 @@ Release 2.8.0 - UNRELEASED HDFS-8622. Implement GETCONTENTSUMMARY operation for WebImageViewer. (Jagadesh Kiran N via aajisaka) + HDFS-7649. Multihoming docs should emphasize using hostnames in + configurations. (Brahma Reddy Battula via Arpit Agarwal) + OPTIMIZATIONS HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsMultihoming.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsMultihoming.md index fc7cc3de47c..0c98d29e3ac 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsMultihoming.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsMultihoming.md @@ -54,6 +54,8 @@ By default `HDFS` endpoints are specified as either hostnames or IP addresses. I The solution is to have separate setting for server endpoints to force binding the wildcard IP address `INADDR_ANY` i.e. `0.0.0.0`. Do NOT supply a port number with any of these settings. +**NOTE:** Prefer using hostnames over IP addresses in master/slave configuration files. + dfs.namenode.rpc-bind-host 0.0.0.0