Updated Branches: refs/heads/branch-1.4.1 9afc48b0e -> 9fe6817fb
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 364619f2dd62f48a723cbc3b76542f7992f1cd45. Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/9fe6817f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/9fe6817f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/9fe6817f Branch: refs/heads/branch-1.4.1 Commit: 9fe6817fb405649ab3c769d8372f43a068594259 Parents: 9afc48b Author: Mahadev Konar <[email protected]> Authored: Sat Oct 5 18:56:48 2013 -0700 Committer: Mahadev Konar <[email protected]> Committed: Sat Oct 5 18:57:07 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/9fe6817f/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/9fe6817f/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}
