hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-3081) Potential indefinite wait in ContainerManagementProtocolProxy#addProxyToCache()
Date Wed, 21 Jan 2015 23:54:35 GMT
Ted Yu created YARN-3081:
----------------------------

             Summary: 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


{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)

Mime
View raw message