incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject git commit: Revert "AMBARI-3400. When using ambari to install a cluster: /etc/hadoop/conf/log4j.properties is set to DEBUG, JHA(Dmytro Sen via odiachenko)"
Date Sun, 06 Oct 2013 01:57:09 GMT
Updated Branches:
  refs/heads/trunk 530232af0 -> 6a15aadeb


Revert "AMBARI-3400. When using ambari to install a cluster: /etc/hadoop/conf/log4j.properties
is set to DEBUG,JHA(Dmytro Sen via odiachenko)"

This reverts commit 5cb4361a4c8ad14ad2b369c5680a350547975036.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/6a15aade
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/6a15aade
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/6a15aade

Branch: refs/heads/trunk
Commit: 6a15aadeb54cacd11c2354eaf0a7025b681f0ce2
Parents: 530232a
Author: Mahadev Konar <mahadev@apache.org>
Authored: Sat Oct 5 18:57:58 2013 -0700
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Sat Oct 5 18:57:58 2013 -0700

----------------------------------------------------------------------
 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp  | 2 +-
 .../main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/6a15aade/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp b/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
index a7208d2..da3d1cb 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
@@ -503,7 +503,7 @@ define hdp-hadoop::update-log4j-properties(
     { name => 'ambari.jobhistory.driver', value => $hdp-hadoop::params::ambari_db_rca_driver
},
     { name => 'ambari.jobhistory.user', value => $hdp-hadoop::params::ambari_db_rca_username
},
     { name => 'ambari.jobhistory.password', value => $hdp-hadoop::params::ambari_db_rca_password
},
-    { name => 'ambari.jobhistory.logger', value => 'INFO,JHA' },
+    { name => 'ambari.jobhistory.logger', value => 'DEBUG,JHA' },
 
     { name => 'log4j.appender.JHA', value => 'org.apache.ambari.log4j.hadoop.mapreduce.jobhistory.JobHistoryAppender'
},
     { name => 'log4j.appender.JHA.database', value => '${ambari.jobhistory.database}'
},

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/6a15aade/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
b/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
index 3eede34..1458f1e 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
+++ b/ambari-agent/src/main/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
@@ -215,7 +215,7 @@ log4j.additivity.org.apache.hadoop.mapred.JobInProgress$JobSummary=false
 <%=scope.function_hdp_template_var("rca_prefix")%>ambari.jobhistory.driver=<%=scope.function_hdp_host("ambari_db_rca_driver")%>
 <%=scope.function_hdp_template_var("rca_prefix")%>ambari.jobhistory.user=<%=scope.function_hdp_host("ambari_db_rca_username")%>
 <%=scope.function_hdp_template_var("rca_prefix")%>ambari.jobhistory.password=<%=scope.function_hdp_host("ambari_db_rca_password")%>
-<%=scope.function_hdp_template_var("rca_prefix")%>ambari.jobhistory.logger=INFO,JHA
+<%=scope.function_hdp_template_var("rca_prefix")%>ambari.jobhistory.logger=DEBUG,JHA
 
 <%=scope.function_hdp_template_var("rca_prefix")%>log4j.appender.JHA=org.apache.ambari.log4j.hadoop.mapreduce.jobhistory.JobHistoryAppender
 <%=scope.function_hdp_template_var("rca_prefix")%>log4j.appender.JHA.database=${ambari.jobhistory.database}


Mime
View raw message