AMBARI-11979. Reduce the size of the log files retained by Accumulo (Billie Rinaldi via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b2d54dc0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b2d54dc0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b2d54dc0 Branch: refs/heads/trunk Commit: b2d54dc0493bb164bf1d76b621306cc3ae5c9494 Parents: 2ad152a Author: Sumit Mohanty <[email protected]> Authored: Wed Jun 17 12:58:25 2015 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Wed Jun 17 12:58:25 2015 -0700 ---------------------------------------------------------------------- .../ACCUMULO/1.6.1.2.2.0/configuration/accumulo-log4j.xml | 4 ++-- .../services/ACCUMULO/configuration/accumulo-log4j.xml | 4 ++-- .../HDP/2.3/services/ACCUMULO/configuration/accumulo-log4j.xml | 4 ++-- ambari-server/src/test/python/stacks/2.2/configs/default.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b2d54dc0/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/configuration/accumulo-log4j.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/configuration/accumulo-log4j.xml b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/configuration/accumulo-log4j.xml index 4845028..e8f6e56 100644 --- a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/configuration/accumulo-log4j.xml +++ b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/configuration/accumulo-log4j.xml @@ -37,7 +37,7 @@ <property> <name>debug_log_size</name> - <value>1000M</value> + <value>512M</value> <description>Size of each debug rolling log file</description> </property> @@ -49,7 +49,7 @@ <property> <name>info_log_size</name> - <value>1000M</value> + <value>512M</value> <description>Size of each info rolling log file</description> </property> http://git-wip-us.apache.org/repos/asf/ambari/blob/b2d54dc0/ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/configuration/accumulo-log4j.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/configuration/accumulo-log4j.xml b/ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/configuration/accumulo-log4j.xml index ef119f8..20c858e 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/configuration/accumulo-log4j.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/configuration/accumulo-log4j.xml @@ -37,7 +37,7 @@ <property> <name>debug_log_size</name> - <value>1000M</value> + <value>512M</value> <description>Size of each debug rolling log file</description> </property> @@ -49,7 +49,7 @@ <property> <name>info_log_size</name> - <value>1000M</value> + <value>512M</value> <description>Size of each info rolling log file</description> </property> http://git-wip-us.apache.org/repos/asf/ambari/blob/b2d54dc0/ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/configuration/accumulo-log4j.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/configuration/accumulo-log4j.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/configuration/accumulo-log4j.xml index ef119f8..20c858e 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/configuration/accumulo-log4j.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/configuration/accumulo-log4j.xml @@ -37,7 +37,7 @@ <property> <name>debug_log_size</name> - <value>1000M</value> + <value>512M</value> <description>Size of each debug rolling log file</description> </property> @@ -49,7 +49,7 @@ <property> <name>info_log_size</name> - <value>1000M</value> + <value>512M</value> <description>Size of each info rolling log file</description> </property> http://git-wip-us.apache.org/repos/asf/ambari/blob/b2d54dc0/ambari-server/src/test/python/stacks/2.2/configs/default.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.2/configs/default.json b/ambari-server/src/test/python/stacks/2.2/configs/default.json index ee8fbc4..dcd38d6 100644 --- a/ambari-server/src/test/python/stacks/2.2/configs/default.json +++ b/ambari-server/src/test/python/stacks/2.2/configs/default.json @@ -369,8 +369,8 @@ }, "accumulo-log4j": { "info_num_logs": "10", - "info_log_size": "1000M", - "debug_log_size": "1000M", + "info_log_size": "512M", + "debug_log_size": "512M", "content": "\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the \"License\"); you may not use this file except in compliance with\n# the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# default logging properties:\n# by default, log everything at INFO or higher to the console\nlog4j.rootLogger=INFO,A1\n\n# hide Jetty junk\nlog4j.logger.org.mortbay.log =WARN,A1\n\n# hide \"Got brand-new compressor\" messages\nlog4j.logger.org.apache.hadoop.io.compress=WARN,A1\nlog4j.logger.org.apache.accumulo.core.file.rfile.bcfile.Compression=WARN,A1\n\n# hide junk from TestRandomDeletes\nlog4j.logger.org.apache.accumulo.test.TestRandomDeletes=WARN,A1\n\n# hide junk from VFS\nlog4j.logger.org.apache.commons.vfs2.impl.DefaultFileSystemManager=WARN,A1\n\n# hide almost everything from zookeeper\nlog4j.logger.org.apache.zookeeper=ERROR,A1\n\n# hide AUDIT messages in the shell, alternatively you could send them to a different logger\nlog4j.logger.org.apache.accumulo.core.util.shell.Shell.audit=WARN,A1\n\n# Send most things to the console\nlog4j.appender.A1=org.apache.log4j.ConsoleAppender\nlog4j.appender.A1.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n\nlog4j.appender.A1.layout=org.apache.log4j.PatternLayout", "audit_log_level": "OFF", "monitor_forwarding_log_level": "WARN",
