You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2013/05/04 01:40:26 UTC

svn commit: r1479008 - in /incubator/ambari/trunk: ./ ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/ ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/ ambari-agent/src/main/puppet/modules/hdp/manifests/

Author: smohanty
Date: Fri May  3 23:40:26 2013
New Revision: 1479008

URL: http://svn.apache.org/r1479008
Log:
AMBARI-2076. DataNode install failed with custom users. (smohanty)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1479008&r1=1479007&r2=1479008&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Fri May  3 23:40:26 2013
@@ -828,6 +828,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2076. DataNode install failed with custom users. (smohanty)
+
  AMBARI-2074. Deployment of HDP 1.2.1 fails on Sles. (smohanty)
 
  AMBARI-2073. After Ambari upgrade to 1.2.3, MapReduce service check fails 

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp?rev=1479008&r1=1479007&r2=1479008&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp Fri May  3 23:40:26 2013
@@ -227,11 +227,11 @@ class hdp-hadoop(
     }
  
     hdp::user{ $hdfs_user:
-      groups => [$hdp::params::user_group, $hdfs_user]
+      groups => [$hdp::params::user_group]
     }
     if ($hdfs_user != $mapred_user) {
       hdp::user { $mapred_user:
-        groups => [$hdp::params::user_group, $mapred_user]
+        groups => [$hdp::params::user_group]
       }
     }
 

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp?rev=1479008&r1=1479007&r2=1479008&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp Fri May  3 23:40:26 2013
@@ -82,7 +82,7 @@ class hdp-hbase(
     hdp::package { 'hbase': }
   
     hdp::user{ $hbase_user:
-      groups => [$hdp::params::user_group, $hbase_user]
+      groups => [$hdp::params::user_group]
     }
  
     hdp::directory { $config_dir: 

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp?rev=1479008&r1=1479007&r2=1479008&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp Fri May  3 23:40:26 2013
@@ -33,6 +33,10 @@ class hdp(
     ensure => present
   }
 
+  group { $hdp::params::mapred_group :
+    ensure => present
+  }
+
 
  ## Port settings
   if has_key($configuration, 'hdfs-site') {

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp?rev=1479008&r1=1479007&r2=1479008&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp Fri May  3 23:40:26 2013
@@ -212,6 +212,7 @@ class hdp::params()
   $mapreduce_jobhistory_done_dir = hdp_default("mapred-site/mapreduce.jobhistory.done-dir","/mr-history/done")
   
   $user_group = hdp_default("user_group","hadoop")
+  $mapred_group = hdp_default("mapred_group","hadoop")
 
   $ganglia_enabled = hdp_default("ganglia_enabled",true)