2012-03-27 16:32:37 +00:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2009-05-19 04:30:38 +00:00
|
|
|
# Define some default values that can be overridden by system properties
|
|
|
|
hadoop.root.logger=INFO,console
|
|
|
|
hadoop.log.dir=.
|
|
|
|
hadoop.log.file=hadoop.log
|
|
|
|
|
|
|
|
# Define the root logger to the system property "hadoop.root.logger".
|
|
|
|
log4j.rootLogger=${hadoop.root.logger}, EventCounter
|
|
|
|
|
|
|
|
# Logging Threshold
|
2010-11-28 21:34:22 +00:00
|
|
|
log4j.threshold=ALL
|
2009-05-19 04:30:38 +00:00
|
|
|
|
2011-12-20 17:17:26 +00:00
|
|
|
# Null Appender
|
|
|
|
log4j.appender.NullAppender=org.apache.log4j.varia.NullAppender
|
|
|
|
|
2012-03-29 21:00:35 +00:00
|
|
|
#
|
|
|
|
# Rolling File Appender - cap space usage at 5gb.
|
|
|
|
#
|
|
|
|
hadoop.log.maxfilesize=256MB
|
|
|
|
hadoop.log.maxbackupindex=20
|
|
|
|
log4j.appender.RFA=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.RFA.File=${hadoop.log.dir}/${hadoop.log.file}
|
|
|
|
|
|
|
|
log4j.appender.RFA.MaxFileSize=${hadoop.log.maxfilesize}
|
|
|
|
log4j.appender.RFA.MaxBackupIndex=${hadoop.log.maxbackupindex}
|
|
|
|
|
|
|
|
log4j.appender.RFA.layout=org.apache.log4j.PatternLayout
|
|
|
|
|
|
|
|
# Pattern format: Date LogLevel LoggerName LogMessage
|
|
|
|
log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
|
|
|
# Debugging Pattern format
|
|
|
|
#log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
|
|
|
|
|
|
|
|
|
2009-05-19 04:30:38 +00:00
|
|
|
#
|
|
|
|
# Daily Rolling File Appender
|
|
|
|
#
|
|
|
|
|
|
|
|
log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
|
|
|
|
log4j.appender.DRFA.File=${hadoop.log.dir}/${hadoop.log.file}
|
|
|
|
|
2015-01-29 07:13:59 +00:00
|
|
|
# Rollover at midnight
|
2009-05-19 04:30:38 +00:00
|
|
|
log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
|
|
|
|
|
|
|
|
log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
|
|
|
|
|
|
|
|
# Pattern format: Date LogLevel LoggerName LogMessage
|
|
|
|
log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
|
|
|
# Debugging Pattern format
|
|
|
|
#log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# console
|
2015-06-05 22:38:31 +00:00
|
|
|
# Add "console" to rootlogger above if you want to use this
|
2009-05-19 04:30:38 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
|
|
|
log4j.appender.console.target=System.err
|
|
|
|
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
|
|
|
|
|
|
|
|
#
|
|
|
|
# TaskLog Appender
|
|
|
|
#
|
|
|
|
|
|
|
|
#Default values
|
|
|
|
hadoop.tasklog.taskid=null
|
2010-06-10 23:01:33 +00:00
|
|
|
hadoop.tasklog.iscleanup=false
|
2009-05-19 04:30:38 +00:00
|
|
|
hadoop.tasklog.noKeepSplits=4
|
|
|
|
hadoop.tasklog.totalLogFileSize=100
|
|
|
|
hadoop.tasklog.purgeLogSplits=true
|
|
|
|
hadoop.tasklog.logsRetainHours=12
|
|
|
|
|
|
|
|
log4j.appender.TLA=org.apache.hadoop.mapred.TaskLogAppender
|
|
|
|
log4j.appender.TLA.taskId=${hadoop.tasklog.taskid}
|
2010-06-10 23:01:33 +00:00
|
|
|
log4j.appender.TLA.isCleanup=${hadoop.tasklog.iscleanup}
|
2009-05-19 04:30:38 +00:00
|
|
|
log4j.appender.TLA.totalLogFileSize=${hadoop.tasklog.totalLogFileSize}
|
|
|
|
|
|
|
|
log4j.appender.TLA.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.TLA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
|
|
|
|
2012-11-09 18:07:04 +00:00
|
|
|
#
|
|
|
|
# HDFS block state change log from block manager
|
|
|
|
#
|
|
|
|
# Uncomment the following to suppress normal block state change
|
|
|
|
# messages from BlockManager in NameNode.
|
|
|
|
#log4j.logger.BlockStateChange=WARN
|
|
|
|
|
2010-02-26 18:35:54 +00:00
|
|
|
#
|
|
|
|
#Security appender
|
|
|
|
#
|
2012-05-11 19:21:57 +00:00
|
|
|
hadoop.security.logger=INFO,NullAppender
|
2012-03-29 21:00:35 +00:00
|
|
|
hadoop.security.log.maxfilesize=256MB
|
|
|
|
hadoop.security.log.maxbackupindex=20
|
2012-03-27 16:32:37 +00:00
|
|
|
log4j.category.SecurityLogger=${hadoop.security.logger}
|
2012-07-16 17:28:49 +00:00
|
|
|
hadoop.security.log.file=SecurityAuth-${user.name}.audit
|
2015-06-05 22:38:31 +00:00
|
|
|
log4j.appender.RFAS=org.apache.log4j.RollingFileAppender
|
2012-03-29 21:00:35 +00:00
|
|
|
log4j.appender.RFAS.File=${hadoop.log.dir}/${hadoop.security.log.file}
|
|
|
|
log4j.appender.RFAS.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.RFAS.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
|
|
|
log4j.appender.RFAS.MaxFileSize=${hadoop.security.log.maxfilesize}
|
|
|
|
log4j.appender.RFAS.MaxBackupIndex=${hadoop.security.log.maxbackupindex}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Daily Rolling Security appender
|
|
|
|
#
|
2015-06-05 22:38:31 +00:00
|
|
|
log4j.appender.DRFAS=org.apache.log4j.DailyRollingFileAppender
|
2010-02-26 18:35:54 +00:00
|
|
|
log4j.appender.DRFAS.File=${hadoop.log.dir}/${hadoop.security.log.file}
|
|
|
|
log4j.appender.DRFAS.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.DRFAS.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
2012-03-27 16:32:37 +00:00
|
|
|
log4j.appender.DRFAS.DatePattern=.yyyy-MM-dd
|
|
|
|
|
2013-08-19 23:49:27 +00:00
|
|
|
#
|
|
|
|
# hadoop configuration logging
|
|
|
|
#
|
|
|
|
|
|
|
|
# Uncomment the following line to turn off configuration deprecation warnings.
|
|
|
|
# log4j.logger.org.apache.hadoop.conf.Configuration.deprecation=WARN
|
|
|
|
|
2012-03-27 16:32:37 +00:00
|
|
|
#
|
|
|
|
# hdfs audit logging
|
|
|
|
#
|
2012-05-11 19:21:57 +00:00
|
|
|
hdfs.audit.logger=INFO,NullAppender
|
2012-03-29 21:00:35 +00:00
|
|
|
hdfs.audit.log.maxfilesize=256MB
|
|
|
|
hdfs.audit.log.maxbackupindex=20
|
2012-03-27 16:32:37 +00:00
|
|
|
log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=${hdfs.audit.logger}
|
|
|
|
log4j.additivity.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=false
|
2012-03-29 21:00:35 +00:00
|
|
|
log4j.appender.RFAAUDIT=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.RFAAUDIT.File=${hadoop.log.dir}/hdfs-audit.log
|
|
|
|
log4j.appender.RFAAUDIT.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.RFAAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %m%n
|
|
|
|
log4j.appender.RFAAUDIT.MaxFileSize=${hdfs.audit.log.maxfilesize}
|
|
|
|
log4j.appender.RFAAUDIT.MaxBackupIndex=${hdfs.audit.log.maxbackupindex}
|
2012-03-27 16:32:37 +00:00
|
|
|
|
2015-08-17 23:55:46 +00:00
|
|
|
#
|
|
|
|
# NameNode metrics logging.
|
|
|
|
# The default is to retain two namenode-metrics.log files up to 64MB each.
|
|
|
|
#
|
2015-09-03 18:14:47 +00:00
|
|
|
namenode.metrics.logger=INFO,NullAppender
|
|
|
|
log4j.logger.NameNodeMetricsLog=${namenode.metrics.logger}
|
2015-08-17 23:55:46 +00:00
|
|
|
log4j.additivity.NameNodeMetricsLog=false
|
|
|
|
log4j.appender.NNMETRICSRFA=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.NNMETRICSRFA.File=${hadoop.log.dir}/namenode-metrics.log
|
|
|
|
log4j.appender.NNMETRICSRFA.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.NNMETRICSRFA.layout.ConversionPattern=%d{ISO8601} %m%n
|
|
|
|
log4j.appender.NNMETRICSRFA.MaxBackupIndex=1
|
|
|
|
log4j.appender.NNMETRICSRFA.MaxFileSize=64MB
|
|
|
|
|
2015-09-15 18:48:29 +00:00
|
|
|
#
|
|
|
|
# DataNode metrics logging.
|
|
|
|
# The default is to retain two datanode-metrics.log files up to 64MB each.
|
|
|
|
#
|
|
|
|
datanode.metrics.logger=INFO,NullAppender
|
|
|
|
log4j.logger.DataNodeMetricsLog=${datanode.metrics.logger}
|
|
|
|
log4j.additivity.DataNodeMetricsLog=false
|
|
|
|
log4j.appender.DNMETRICSRFA=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.DNMETRICSRFA.File=${hadoop.log.dir}/datanode-metrics.log
|
|
|
|
log4j.appender.DNMETRICSRFA.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.DNMETRICSRFA.layout.ConversionPattern=%d{ISO8601} %m%n
|
|
|
|
log4j.appender.DNMETRICSRFA.MaxBackupIndex=1
|
|
|
|
log4j.appender.DNMETRICSRFA.MaxFileSize=64MB
|
|
|
|
|
2012-03-27 16:32:37 +00:00
|
|
|
#
|
|
|
|
# mapred audit logging
|
|
|
|
#
|
2012-05-11 19:21:57 +00:00
|
|
|
mapred.audit.logger=INFO,NullAppender
|
2012-03-29 21:00:35 +00:00
|
|
|
mapred.audit.log.maxfilesize=256MB
|
|
|
|
mapred.audit.log.maxbackupindex=20
|
2012-03-27 16:32:37 +00:00
|
|
|
log4j.logger.org.apache.hadoop.mapred.AuditLogger=${mapred.audit.logger}
|
|
|
|
log4j.additivity.org.apache.hadoop.mapred.AuditLogger=false
|
2012-03-29 21:00:35 +00:00
|
|
|
log4j.appender.MRAUDIT=org.apache.log4j.RollingFileAppender
|
2012-03-27 16:32:37 +00:00
|
|
|
log4j.appender.MRAUDIT.File=${hadoop.log.dir}/mapred-audit.log
|
|
|
|
log4j.appender.MRAUDIT.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.MRAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %m%n
|
2012-03-29 21:00:35 +00:00
|
|
|
log4j.appender.MRAUDIT.MaxFileSize=${mapred.audit.log.maxfilesize}
|
|
|
|
log4j.appender.MRAUDIT.MaxBackupIndex=${mapred.audit.log.maxbackupindex}
|
2009-05-19 04:30:38 +00:00
|
|
|
|
|
|
|
# Custom Logging levels
|
|
|
|
|
|
|
|
#log4j.logger.org.apache.hadoop.mapred.JobTracker=DEBUG
|
|
|
|
#log4j.logger.org.apache.hadoop.mapred.TaskTracker=DEBUG
|
2010-11-30 05:24:58 +00:00
|
|
|
#log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=DEBUG
|
2009-05-19 04:30:38 +00:00
|
|
|
|
|
|
|
# Jets3t library
|
|
|
|
log4j.logger.org.jets3t.service.impl.rest.httpclient.RestS3Service=ERROR
|
|
|
|
|
2014-09-15 15:27:07 +00:00
|
|
|
# AWS SDK & S3A FileSystem
|
|
|
|
log4j.logger.com.amazonaws=ERROR
|
|
|
|
log4j.logger.com.amazonaws.http.AmazonHttpClient=ERROR
|
|
|
|
log4j.logger.org.apache.hadoop.fs.s3a.S3AFileSystem=WARN
|
|
|
|
|
2009-05-19 04:30:38 +00:00
|
|
|
#
|
|
|
|
# Event Counter Appender
|
|
|
|
# Sends counts of logging messages at different severity levels to Hadoop Metrics.
|
|
|
|
#
|
2011-05-10 23:56:54 +00:00
|
|
|
log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter
|
2010-06-10 23:01:33 +00:00
|
|
|
|
|
|
|
#
|
2015-06-05 22:38:31 +00:00
|
|
|
# Job Summary Appender
|
2010-06-10 23:01:33 +00:00
|
|
|
#
|
2015-06-05 22:38:31 +00:00
|
|
|
# Use following logger to send summary to separate file defined by
|
2012-03-29 21:00:35 +00:00
|
|
|
# hadoop.mapreduce.jobsummary.log.file :
|
2012-03-27 16:32:37 +00:00
|
|
|
# hadoop.mapreduce.jobsummary.logger=INFO,JSA
|
|
|
|
#
|
|
|
|
hadoop.mapreduce.jobsummary.logger=${hadoop.root.logger}
|
|
|
|
hadoop.mapreduce.jobsummary.log.file=hadoop-mapreduce.jobsummary.log
|
2012-03-29 21:00:35 +00:00
|
|
|
hadoop.mapreduce.jobsummary.log.maxfilesize=256MB
|
|
|
|
hadoop.mapreduce.jobsummary.log.maxbackupindex=20
|
|
|
|
log4j.appender.JSA=org.apache.log4j.RollingFileAppender
|
2010-06-10 23:01:33 +00:00
|
|
|
log4j.appender.JSA.File=${hadoop.log.dir}/${hadoop.mapreduce.jobsummary.log.file}
|
2012-03-29 21:00:35 +00:00
|
|
|
log4j.appender.JSA.MaxFileSize=${hadoop.mapreduce.jobsummary.log.maxfilesize}
|
|
|
|
log4j.appender.JSA.MaxBackupIndex=${hadoop.mapreduce.jobsummary.log.maxbackupindex}
|
2010-06-10 23:01:33 +00:00
|
|
|
log4j.appender.JSA.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.JSA.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
|
|
|
|
log4j.logger.org.apache.hadoop.mapred.JobInProgress$JobSummary=${hadoop.mapreduce.jobsummary.logger}
|
|
|
|
log4j.additivity.org.apache.hadoop.mapred.JobInProgress$JobSummary=false
|
|
|
|
|
2011-09-01 23:58:12 +00:00
|
|
|
#
|
2015-06-05 22:38:31 +00:00
|
|
|
# shuffle connection log from shuffleHandler
|
|
|
|
# Uncomment the following line to enable logging of shuffle connections
|
|
|
|
# log4j.logger.org.apache.hadoop.mapred.ShuffleHandler.audit=DEBUG
|
|
|
|
|
|
|
|
#
|
|
|
|
# Yarn ResourceManager Application Summary Log
|
2011-09-01 23:58:12 +00:00
|
|
|
#
|
|
|
|
# Set the ResourceManager summary log filename
|
2013-06-14 06:04:06 +00:00
|
|
|
yarn.server.resourcemanager.appsummary.log.file=rm-appsummary.log
|
2011-09-01 23:58:12 +00:00
|
|
|
# Set the ResourceManager summary log level and appender
|
2013-06-14 06:04:06 +00:00
|
|
|
yarn.server.resourcemanager.appsummary.logger=${hadoop.root.logger}
|
2011-09-01 23:58:12 +00:00
|
|
|
#yarn.server.resourcemanager.appsummary.logger=INFO,RMSUMMARY
|
|
|
|
|
2015-06-05 22:38:31 +00:00
|
|
|
# To enable AppSummaryLogging for the RM,
|
|
|
|
# set yarn.server.resourcemanager.appsummary.logger to
|
2013-06-14 06:04:06 +00:00
|
|
|
# <LEVEL>,RMSUMMARY in hadoop-env.sh
|
|
|
|
|
2012-03-29 21:00:35 +00:00
|
|
|
# Appender for ResourceManager Application Summary Log
|
2011-09-01 23:58:12 +00:00
|
|
|
# Requires the following properties to be set
|
|
|
|
# - hadoop.log.dir (Hadoop Log directory)
|
|
|
|
# - yarn.server.resourcemanager.appsummary.log.file (resource manager app summary log filename)
|
|
|
|
# - yarn.server.resourcemanager.appsummary.logger (resource manager app summary log level and appender)
|
|
|
|
|
2013-06-14 06:04:06 +00:00
|
|
|
log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.RMAppManager$ApplicationSummary=${yarn.server.resourcemanager.appsummary.logger}
|
|
|
|
log4j.additivity.org.apache.hadoop.yarn.server.resourcemanager.RMAppManager$ApplicationSummary=false
|
|
|
|
log4j.appender.RMSUMMARY=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.RMSUMMARY.File=${hadoop.log.dir}/${yarn.server.resourcemanager.appsummary.log.file}
|
|
|
|
log4j.appender.RMSUMMARY.MaxFileSize=256MB
|
|
|
|
log4j.appender.RMSUMMARY.MaxBackupIndex=20
|
|
|
|
log4j.appender.RMSUMMARY.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.RMSUMMARY.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %m%n
|
2013-07-18 20:41:14 +00:00
|
|
|
|
|
|
|
# HS audit log configs
|
|
|
|
#mapreduce.hs.audit.logger=INFO,HSAUDIT
|
|
|
|
#log4j.logger.org.apache.hadoop.mapreduce.v2.hs.HSAuditLogger=${mapreduce.hs.audit.logger}
|
|
|
|
#log4j.additivity.org.apache.hadoop.mapreduce.v2.hs.HSAuditLogger=false
|
|
|
|
#log4j.appender.HSAUDIT=org.apache.log4j.DailyRollingFileAppender
|
|
|
|
#log4j.appender.HSAUDIT.File=${hadoop.log.dir}/hs-audit.log
|
|
|
|
#log4j.appender.HSAUDIT.layout=org.apache.log4j.PatternLayout
|
|
|
|
#log4j.appender.HSAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %m%n
|
2013-08-19 23:49:27 +00:00
|
|
|
#log4j.appender.HSAUDIT.DatePattern=.yyyy-MM-dd
|
|
|
|
|
2013-09-06 19:40:02 +00:00
|
|
|
# Http Server Request Logs
|
|
|
|
#log4j.logger.http.requests.namenode=INFO,namenoderequestlog
|
|
|
|
#log4j.appender.namenoderequestlog=org.apache.hadoop.http.HttpRequestLogAppender
|
|
|
|
#log4j.appender.namenoderequestlog.Filename=${hadoop.log.dir}/jetty-namenode-yyyy_mm_dd.log
|
|
|
|
#log4j.appender.namenoderequestlog.RetainDays=3
|
|
|
|
|
|
|
|
#log4j.logger.http.requests.datanode=INFO,datanoderequestlog
|
|
|
|
#log4j.appender.datanoderequestlog=org.apache.hadoop.http.HttpRequestLogAppender
|
|
|
|
#log4j.appender.datanoderequestlog.Filename=${hadoop.log.dir}/jetty-datanode-yyyy_mm_dd.log
|
|
|
|
#log4j.appender.datanoderequestlog.RetainDays=3
|
|
|
|
|
|
|
|
#log4j.logger.http.requests.resourcemanager=INFO,resourcemanagerrequestlog
|
|
|
|
#log4j.appender.resourcemanagerrequestlog=org.apache.hadoop.http.HttpRequestLogAppender
|
|
|
|
#log4j.appender.resourcemanagerrequestlog.Filename=${hadoop.log.dir}/jetty-resourcemanager-yyyy_mm_dd.log
|
|
|
|
#log4j.appender.resourcemanagerrequestlog.RetainDays=3
|
|
|
|
|
|
|
|
#log4j.logger.http.requests.jobhistory=INFO,jobhistoryrequestlog
|
|
|
|
#log4j.appender.jobhistoryrequestlog=org.apache.hadoop.http.HttpRequestLogAppender
|
|
|
|
#log4j.appender.jobhistoryrequestlog.Filename=${hadoop.log.dir}/jetty-jobhistory-yyyy_mm_dd.log
|
|
|
|
#log4j.appender.jobhistoryrequestlog.RetainDays=3
|
|
|
|
|
|
|
|
#log4j.logger.http.requests.nodemanager=INFO,nodemanagerrequestlog
|
|
|
|
#log4j.appender.nodemanagerrequestlog=org.apache.hadoop.http.HttpRequestLogAppender
|
|
|
|
#log4j.appender.nodemanagerrequestlog.Filename=${hadoop.log.dir}/jetty-nodemanager-yyyy_mm_dd.log
|
|
|
|
#log4j.appender.nodemanagerrequestlog.RetainDays=3
|
2015-04-03 00:23:20 +00:00
|
|
|
|
|
|
|
# Appender for viewing information for errors and warnings
|
|
|
|
yarn.ewma.cleanupInterval=300
|
|
|
|
yarn.ewma.messageAgeLimitSeconds=86400
|
|
|
|
yarn.ewma.maxUniqueMessages=250
|
|
|
|
log4j.appender.EWMA=org.apache.hadoop.yarn.util.Log4jWarningErrorMetricsAppender
|
|
|
|
log4j.appender.EWMA.cleanupInterval=${yarn.ewma.cleanupInterval}
|
|
|
|
log4j.appender.EWMA.messageAgeLimitSeconds=${yarn.ewma.messageAgeLimitSeconds}
|
|
|
|
log4j.appender.EWMA.maxUniqueMessages=${yarn.ewma.maxUniqueMessages}
|