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 2015/04/19 21:59:23 UTC
bigtop git commit: BIGTOP-1832: hdfs-site.xml: update shortcut reader
and remove obsolete shortcut reader users
Repository: bigtop
Updated Branches:
refs/heads/master 0bc0cb524 -> d010ee383
BIGTOP-1832: hdfs-site.xml: update shortcut reader and remove obsolete shortcut reader users
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/d010ee38
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/d010ee38
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/d010ee38
Branch: refs/heads/master
Commit: d010ee383d49548080ec03b3c1935c334c154a76
Parents: 0bc0cb5
Author: Olaf Flebbe <of...@oflebbe.de>
Authored: Thu Apr 16 10:27:09 2015 +0200
Committer: Olaf Flebbe <of...@oflebbe.de>
Committed: Sun Apr 19 21:58:15 2015 +0200
----------------------------------------------------------------------
bigtop-deploy/puppet/modules/hadoop/manifests/init.pp | 2 +-
bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/d010ee38/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 0025a2a..b0a7b0e 100644
--- a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
@@ -128,7 +128,7 @@ class hadoop ($hadoop_security_authentication = "simple",
$hadoop_namenode_http_port = "50070",
$hadoop_namenode_https_port = "50470",
$hdfs_data_dirs = suffix($hadoop::hadoop_storage_dirs, "/hdfs"),
- $hdfs_shortcut_reader_user = undef,
+ $hdfs_shortcut_reader = undef,
$hdfs_support_append = undef,
$hdfs_webhdfs_enabled = "true",
$hdfs_replication = undef,
http://git-wip-us.apache.org/repos/asf/bigtop/blob/d010ee38/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 339702b..328cf6f 100644
--- a/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
+++ b/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml
@@ -188,15 +188,15 @@
</property>
<% end %>
-<% if @hdfs_shortcut_reader_user %>
+<% if @hdfs_shortcut_reader %>
<property>
<name>dfs.client.read.shortcircuit</name>
<value>true</value>
</property>
<property>
- <name>dfs.block.local-path-access.user</name>
- <value><%= @hdfs_shortcut_reader_user %></value>
+ <name>dfs.domain.socket.path</name>
+ <value>/var/lib/hadoop-hdfs/dn_socket</value>
</property>
<% end %>