[ 
https://issues.apache.org/jira/browse/YARN-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159258#comment-15159258
 ] 

Jason Lowe commented on YARN-4722:
----------------------------------

This is indeed accessed from multiple threads.  It just so happens in my 
example they are all from the same thread, but the common case is that an RPC 
server handler thread will post events to the queue, and there are multiple RPC 
server handler threads.

> 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)

Reply via email to