Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 21BAA200C02 for ; Fri, 20 Jan 2017 19:56:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 20486160B48; Fri, 20 Jan 2017 18:56:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6712D160B34 for ; Fri, 20 Jan 2017 19:56:04 +0100 (CET) Received: (qmail 218 invoked by uid 500); 20 Jan 2017 18:56:03 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 209 invoked by uid 99); 20 Jan 2017 18:56:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 18:56:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7E315DFC16; Fri, 20 Jan 2017 18:56:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: smohanty@apache.org To: commits@ambari.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) archived-at: Fri, 20 Jan 2017 18:56:05 -0000 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 Authored: Fri Jan 20 10:53:03 2017 -0800 Committer: Sumit Mohanty 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 @@ hadoop_log_number_of_backup_files - 20 + 10 The number of backup files Hadoop Log: # of backup files 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 @@ zookeeper_log_max_backup_size - 256 + 10 The maximum size of backup file before the log is rotated Zookeeper Log: backup file size @@ -32,7 +32,7 @@ zookeeper_log_number_of_backup_files - 20 + 10 The number of backup files Zookeeper Log: # of backup files 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 @@ hadoop_log_number_of_backup_files - 20 + 10 The number of backup files Hadoop Log: # of backup files