Lohit Vijayarenu created YARN-402:
-------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to