incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject svn commit: r1376284 - in /incubator/ambari/trunk: CHANGES.txt hmc/puppet/modules/hdp/manifests/init.pp
Date Wed, 22 Aug 2012 22:13:18 GMT
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
 )
 {



Mime
View raw message