You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "zhengchenyu (Jira)" <ji...@apache.org> on 2023/09/08 09:01:00 UTC
[jira] [Created] (YARN-11565) Container logs are missing when yarn.app.container.log.filesize is set to default value 0.
zhengchenyu created YARN-11565:
----------------------------------
Summary: Container logs are missing when yarn.app.container.log.filesize is set to default value 0.
Key: YARN-11565
URL: https://issues.apache.org/jira/browse/YARN-11565
Project: Hadoop YARN
Issue Type: Improvement
Affects Versions: 3.3.6
Reporter: zhengchenyu
Assignee: zhengchenyu
Since HADOOP-18649, log4j.appender.\{APPENDER}.MaxFileSize is set to ${yarn.app.container.log.filesize}, but yarn.app.container.log.filesize is 0 in default. So log is missing. This log is always rolling and only show the latest log.
This is the running log like below:
{code:java}
Log Type: syslog
Log Upload Time: Fri Sep 08 11:36:09 +0800 2023
Log Length: 0
Log Type: syslog.1
Log Upload Time: Fri Sep 08 11:36:09 +0800 2023
Log Length: 1792023-09-08 11:31:34,494 INFO [AsyncDispatcher event handler] org.apache.hadoop.yarn.util.RackResolver: Got an error when resolve hostNames. Falling back to /default-rack for all. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org