You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2013/06/18 23:58:26 UTC
svn commit: r1494332 -
/incubator/ambari/branches/branch-1.4.0/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp
Author: swagle
Date: Tue Jun 18 21:58:26 2013
New Revision: 1494332
URL: http://svn.apache.org/r1494332
Log:
AMBARI-2424. MR job logs not being moved to done folder, JobHistory UI displays no jobs. (swagle)
Modified:
incubator/ambari/branches/branch-1.4.0/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp
Modified: incubator/ambari/branches/branch-1.4.0/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.4.0/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp?rev=1494332&r1=1494331&r2=1494332&view=diff
==============================================================================
--- incubator/ambari/branches/branch-1.4.0/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp (original)
+++ incubator/ambari/branches/branch-1.4.0/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp Tue Jun 18 21:58:26 2013
@@ -185,20 +185,21 @@ define hdp-hadoop::namenode::create_app_
if ($hdp::params::hs_host != "") {
$mapred_user = $hdp::params::mapred_user
$mapreduce_jobhistory_intermediate_done_dir = $hdp::params::mapreduce_jobhistory_intermediate_done_dir
+ $group = $hdp::params::user_group
$mapreduce_jobhistory_done_dir = $hdp::params::mapreduce_jobhistory_done_dir
hdp-hadoop::hdfs::directory{ $mapreduce_jobhistory_intermediate_done_dir:
service_state => $service_state,
owner => $mapred_user,
- mode => '1777',
- recursive_chmod => true
+ group => $group,
+ mode => '1777'
}
hdp-hadoop::hdfs::directory{ $mapreduce_jobhistory_done_dir:
service_state => $service_state,
owner => $mapred_user,
- mode => '1777',
- recursive_chmod => true
+ group => $group,
+ mode => '1777'
}
}
}