You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by hi...@apache.org on 2012/08/23 00:13:18 UTC

svn commit: r1376284 - in /incubator/ambari/trunk: CHANGES.txt hmc/puppet/modules/hdp/manifests/init.pp

Author: hitesh
Date: Wed Aug 22 22:13:18 2012
New Revision: 1376284

URL: http://svn.apache.org/viewvc?rev=1376284&view=rev
Log:
AMBARI-675. Make puppet generate more logs on command failures (Contributed by hitesh)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/hmc/puppet/modules/hdp/manifests/init.pp

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1376284&r1=1376283&r2=1376284&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Aug 22 22:13:18 2012
@@ -152,6 +152,8 @@ Trunk (unreleased changes)
 
 Release 0.9.0
 
+  AMBARI-675. Make puppet generate more logs on command failures (hitesh)
+
   AMBARI-672. Hardcoded -Xmn value for hbase causes region servers to fail to start in
   machines with less memory (hitesh)
 

Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp/manifests/init.pp?rev=1376284&r1=1376283&r2=1376284&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp/manifests/init.pp (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp/manifests/init.pp Wed Aug 22 22:13:18 2012
@@ -25,7 +25,9 @@ class hdp(
 {
   import 'params.pp'
   include hdp::params
-  
+
+  Exec { logoutput => 'on_failure' }
+
   group { $hdp::params::hadoop_user_group :
     ensure => present
   }
@@ -233,7 +235,7 @@ define hdp::exec(
   $timeout = 900,
   $try_sleep = undef,
   $initial_wait = undef,
-  $logoutput = undef,
+  $logoutput = 'on_failure',
   $cwd = undef
 )
 {