incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject 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)
Date Tue, 01 Oct 2013 15:14:51 GMT
Updated Branches:
  refs/heads/branch-1.4.1 83044c0a7 -> 364619f2d


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/364619f2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/364619f2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/364619f2

Branch: refs/heads/branch-1.4.1
Commit: 364619f2dd62f48a723cbc3b76542f7992f1cd45
Parents: 83044c0
Author: Oleksandr Diachenko <odiachenko@hortonworks.com>
Authored: Tue Oct 1 18:14:34 2013 +0300
Committer: Oleksandr Diachenko <odiachenko@hortonworks.com>
Committed: Tue Oct 1 18:14:34 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/364619f2/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/364619f2/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}


Mime
View raw message