ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-19656. Add common log rotation settings to HDFS, Zookeeper configs - addendum (Madhuvanthi Radhakrishnan via smohanty)
Date Fri, 20 Jan 2017 18:56:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk c46ccc51b -> 2b926001b


AMBARI-19656. Add common log rotation settings to HDFS,Zookeeper configs - addendum (Madhuvanthi
Radhakrishnan via smohanty)


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

Branch: refs/heads/trunk
Commit: 2b926001bf40cbd03037bb8614eaab75e4baecea
Parents: c46ccc5
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Fri Jan 20 10:53:03 2017 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Fri Jan 20 10:55:41 2017 -0800

----------------------------------------------------------------------
 .../common-services/HDFS/2.1.0.2.0/configuration/hdfs-log4j.xml  | 2 +-
 .../ZOOKEEPER/3.4.5/configuration/zookeeper-log4j.xml            | 4 ++--
 .../stacks/HDP/2.0.6/hooks/before-START/scripts/params.py        | 2 +-
 .../stacks/HDP/2.2/services/HDFS/configuration/hdfs-log4j.xml    | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2b926001/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-log4j.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-log4j.xml
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-log4j.xml
index 52f166d..3f73c19 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-log4j.xml
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-log4j.xml
@@ -53,7 +53,7 @@
   </property>
   <property>
     <name>hadoop_log_number_of_backup_files</name>
-    <value>20</value>
+    <value>10</value>
     <description>The number of backup files</description>
     <display-name>Hadoop Log: # of backup files</display-name>
     <value-attributes>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2b926001/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/configuration/zookeeper-log4j.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/configuration/zookeeper-log4j.xml
b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/configuration/zookeeper-log4j.xml
index 3725bc0..151ce3b 100644
--- a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/configuration/zookeeper-log4j.xml
+++ b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/configuration/zookeeper-log4j.xml
@@ -22,7 +22,7 @@
 <configuration supports_final="false" supports_adding_forbidden="true">
   <property>
     <name>zookeeper_log_max_backup_size</name>
-    <value>256</value>
+    <value>10</value>
     <description>The maximum size of backup file before the log is rotated</description>
     <display-name>Zookeeper Log: backup file size</display-name>
     <value-attributes>
@@ -32,7 +32,7 @@
   </property>
 <property>
     <name>zookeeper_log_number_of_backup_files</name>
-    <value>20</value>
+    <value>10</value>
     <description>The number of backup files</description>
     <display-name>Zookeeper Log: # of backup files</display-name>
     <value-attributes>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2b926001/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
index 92abd57..c77a906 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
@@ -210,7 +210,7 @@ dfs_hosts = default('/configurations/hdfs-site/dfs.hosts', None)
 
 # Hdfs log4j settings
 hadoop_log_max_backup_size = default('configurations/hdfs-log4j/hadoop_log_max_backup_size',
256)
-hadoop_log_number_of_backup_files = default('configurations/hdfs-log4j/hadoop_log_number_of_backup_files',
20)
+hadoop_log_number_of_backup_files = default('configurations/hdfs-log4j/hadoop_log_number_of_backup_files',
10)
 hadoop_security_log_max_backup_size = default('configurations/hdfs-log4j/hadoop_security_log_max_backup_size',
256)
 hadoop_security_log_number_of_backup_files = default('configurations/hdfs-log4j/hadoop_security_log_number_of_backup_files',
20)
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2b926001/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-log4j.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-log4j.xml
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-log4j.xml
index 7bdb938..d052621 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-log4j.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-log4j.xml
@@ -53,7 +53,7 @@
   </property>
   <property>
     <name>hadoop_log_number_of_backup_files</name>
-    <value>20</value>
+    <value>10</value>
     <description>The number of backup files</description>
     <display-name>Hadoop Log: # of backup files</display-name>
     <value-attributes>


Mime
View raw message