You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Tsuyoshi OZAWA (JIRA)" <ji...@apache.org> on 2014/07/17 19:35:05 UTC

[jira] [Created] (YARN-2313) Livelock can occur on FairScheduler when there are lots entry in queue

Tsuyoshi OZAWA created YARN-2313:
------------------------------------

             Summary: Livelock can occur on FairScheduler when there are lots entry in queue
                 Key: YARN-2313
                 URL: https://issues.apache.org/jira/browse/YARN-2313
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler
    Affects Versions: 2.4.1
            Reporter: Tsuyoshi OZAWA
            Assignee: Tsuyoshi OZAWA


Observed livelock on FairScheduler when there are lots entry in queue. After my investigating code, following case can occur:

1. {{update()}} called by UpdateThread takes longer times than UPDATE_INTERVAL(500ms) if there are lots queue.
2. UpdateThread goes busy loop.
3. Other threads(AllocationFileReloader, ResourceManager$SchedulerEventDispatcher) can wait forever.



--
This message was sent by Atlassian JIRA
(v6.2#6252)