[
https://issues.apache.org/jira/browse/YARN-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe updated YARN-4722:
-----------------------------
Attachment: YARN-4722.001.patch
Patch that avoids logging the event queue size if it hasn't changed since the
last log message. I also updated similar code in the RM scheduler event
handler since it can have the same issue.
> AsyncDispatcher logs redundant event queue sizes
> ------------------------------------------------
>
> Key: YARN-4722
> URL: https://issues.apache.org/jira/browse/YARN-4722
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Jason Lowe
> Assignee: Jason Lowe
> Attachments: YARN-4722.001.patch
>
>
> A fairly common occurrence in RM logs is a string of redundant event-queue
> logs like the following which does little except bloat the logs:
> {noformat}
> 2016-02-23 08:00:00,948 [IPC Server handler 36 on 8030] INFO
> event.AsyncDispatcher: Size of event-queue is 1000
> 2016-02-23 08:00:00,948 [IPC Server handler 36 on 8030] INFO
> event.AsyncDispatcher: Size of event-queue is 1000
> 2016-02-23 08:00:00,948 [IPC Server handler 36 on 8030] INFO
> event.AsyncDispatcher: Size of event-queue is 1000
> 2016-02-23 08:00:00,948 [IPC Server handler 36 on 8030] INFO
> event.AsyncDispatcher: Size of event-queue is 1000
> 2016-02-23 08:00:00,948 [IPC Server handler 36 on 8030] INFO
> event.AsyncDispatcher: Size of event-queue is 1000
> [...]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)