You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/01/22 00:57:35 UTC

[jira] [Updated] (YARN-3081) Potential indefinite wait in ContainerManagementProtocolProxy#addProxyToCache()

     [ https://issues.apache.org/jira/browse/YARN-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated YARN-3081:
-------------------------
    Attachment: yarn-3081-001.patch

> Potential indefinite wait in ContainerManagementProtocolProxy#addProxyToCache()
> -------------------------------------------------------------------------------
>
>                 Key: YARN-3081
>                 URL: https://issues.apache.org/jira/browse/YARN-3081
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: yarn-3081-001.patch
>
>
> {code}
>       if (!removedProxy) {
>         // all of the proxies are currently in use and already scheduled
>         // for removal, so we need to wait until at least one of them closes
>         try {
>           this.wait();
> {code}
> The above code can wait for a condition that has already been satisfied, leading to indefinite wait.



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