hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-402) Dispatcher warn message is too late
Date Sat, 04 Apr 2015 00:33:33 GMT

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

Junping Du commented on YARN-402:
---------------------------------

Forget that the queue can be constructed with other queue type other than LinkedBlockingQueue.
So may be it could be the smaller value within half of queue size (if queue is not LinkedBlockingQueue
by default) and 1000* 1000 (estimated as above).

> Dispatcher warn message is too late
> -----------------------------------
>
>                 Key: YARN-402
>                 URL: https://issues.apache.org/jira/browse/YARN-402
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Lohit Vijayarenu
>            Priority: Minor
>
> AsyncDispatcher throws out Warn when capacity remaining is less than 1000
> {noformat}
> if (remCapacity < 1000) {
>         LOG.warn("Very low remaining capacity in the event-queue: "
>             + remCapacity);
>       }
> {noformat}
> What would be useful is to warn much before that, may be half full instead of when queue
is completely full. I see that eventQueue capacity is int value. So, if one warn's queue has
only 1000 capacity left, then service definitely has serious problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message