You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2016/08/09 18:27:13 UTC

[10/11] bigtop git commit: BIGTOP-2458: Add option to disable IP hostname checking for DataNode registration

BIGTOP-2458: Add option to disable IP hostname checking for DataNode registration


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/47d1f697
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/47d1f697
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/47d1f697

Branch: refs/heads/BIGTOP-2253
Commit: 47d1f6970644fbd1d2209d028b1f4f386f77e73b
Parents: 71b0ee3
Author: Cory Johns <jo...@gmail.com>
Authored: Thu May 26 15:34:49 2016 -0400
Committer: Olaf Flebbe <of...@oflebbe.de>
Committed: Tue Aug 9 20:26:21 2016 +0200

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/hadoop/manifests/init.pp       | 1 +
 bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml | 6 ++++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/47d1f697/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
index 90c9505..430e341 100644
--- a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
@@ -228,6 +228,7 @@ class hadoop ($hadoop_security_authentication = "simple",
       $hadoop_http_authentication_signature_secret_file = "/etc/hadoop/conf/hadoop-http-authentication-signature-secret",
       $hadoop_http_authentication_cookie_domain = regsubst($fqdn, "^[^\\.]+\\.", ""),
       $generate_secrets = $hadoop::generate_secrets,
+      $namenode_datanode_registration_ip_hostname_check = true,
   ) inherits hadoop {
 
     $sshfence_keydir  = "$hadoop_ha_sshfence_user_home/.ssh"

http://git-wip-us.apache.org/repos/asf/bigtop/blob/47d1f697/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml b/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
index 328cf6f..8216eb4 100644
--- a/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
+++ b/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
@@ -297,4 +297,10 @@
 
 <%   end -%>
 <% end -%>
+
+  <property>
+    <name>dfs.namenode.datanode.registration.ip-hostname-check</name>
+    <value><%= @namenode_datanode_registration_ip_hostname_check %></value>
+  </property>
+
 </configuration>