You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by od...@apache.org on 2013/10/01 17:13:24 UTC

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

Updated Branches:
  refs/heads/trunk f01523b6a -> 5cb4361a4


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


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

Branch: refs/heads/trunk
Commit: 5cb4361a4c8ad14ad2b369c5680a350547975036
Parents: f01523b
Author: Oleksandr Diachenko <od...@hortonworks.com>
Authored: Tue Oct 1 18:13:05 2013 +0300
Committer: Oleksandr Diachenko <od...@hortonworks.com>
Committed: Tue Oct 1 18:13:16 2013 +0300

----------------------------------------------------------------------
 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/5cb4361a/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 da3d1cb..a7208d2 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 => 'DEBUG,JHA' },
+    { name => 'ambari.jobhistory.logger', value => 'INFO,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/5cb4361a/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 83b777a..32d30d4 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=DEBUG,JHA
+<%=scope.function_hdp_template_var("rca_prefix")%>ambari.jobhistory.logger=INFO,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}