You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2011/10/23 02:30:12 UTC
svn commit: r1187836 -
/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hadoop
Author: rvs
Date: Sun Oct 23 00:30:12 2011
New Revision: 1187836
URL: http://svn.apache.org/viewvc?rev=1187836&view=rev
Log:
BIGTOP-141. hadoop now requires an explicit declaration of a HADOOP_SECURE_DN_USER in order to run a secure datanode
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hadoop
Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hadoop
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hadoop?rev=1187836&r1=1187835&r2=1187836&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hadoop (original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/templates/hadoop Sun Oct 23 00:30:12 2011
@@ -2,6 +2,9 @@ export HADOOP_HOME=/usr/lib/hadoop
export HADOOP_NAMENODE_USER=hdfs
export HADOOP_SECONDARYNAMENODE_USER=hdfs
export HADOOP_DATANODE_USER=hdfs
+<% if hadoop_security_authentication == "kerberos" %>
+export HADOOP_SECURE_DN_USER=hdfs
+<% end %>
export HADOOP_JOBTRACKER_USER=mapred
export HADOOP_TASKTRACKER_USER=mapred
export HADOOP_IDENT_STRING=hadoop