ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbrodets...@apache.org
Subject git commit: AMBARI-6475. Set loglevel to WARN for releases, and fix warnings/deprecations.(vbrodetskyi)
Date Mon, 14 Jul 2014 13:10:52 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 3bddf7b7c -> ad0702ccd


AMBARI-6475. Set loglevel to WARN for releases, and fix warnings/deprecations.(vbrodetskyi)


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

Branch: refs/heads/trunk
Commit: ad0702ccd3c6794134eeda1d59dfd8e047e4df1e
Parents: 3bddf7b
Author: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Authored: Mon Jul 14 15:27:09 2014 +0300
Committer: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Committed: Mon Jul 14 15:27:09 2014 +0300

----------------------------------------------------------------------
 .../HDP/2.0.6/hooks/before-START/files/task-log4j.properties     | 4 +++-
 .../stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-log4j.xml  | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ad0702cc/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/task-log4j.properties
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/task-log4j.properties
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/task-log4j.properties
index c8939fc..7e12962 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/task-log4j.properties
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/task-log4j.properties
@@ -129,4 +129,6 @@ log4j.appender.NullAppender=org.apache.log4j.varia.NullAppender
 # Sends counts of logging messages at different severity levels to Hadoop Metrics.
 #
 log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter
-
+ 
+# Removes "deprecated" messages
+log4j.logger.org.apache.hadoop.conf.Configuration.deprecation=WARN

http://git-wip-us.apache.org/repos/asf/ambari/blob/ad0702cc/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-log4j.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-log4j.xml
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-log4j.xml
index b592be5..649472d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-log4j.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-log4j.xml
@@ -190,6 +190,9 @@ log4j.appender.NullAppender=org.apache.log4j.varia.NullAppender
 # Sends counts of logging messages at different severity levels to Hadoop Metrics.
 #
 log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter
+
+# Removes "deprecated" messages
+log4j.logger.org.apache.hadoop.conf.Configuration.deprecation=WARN
     </value>
   </property>
 


Mime
View raw message