Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-402

Dispatcher warn message is too late

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      AsyncDispatcher throws out Warn when capacity remaining is less than 1000

      if (remCapacity < 1000) {
              LOG.warn("Very low remaining capacity in the event-queue: "
                  + remCapacity);
            }
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lohit Lohit Vijaya Renu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: