hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7133) Clean up lock-try order fair scheduler
Date Wed, 30 Aug 2017 21:41:00 GMT
Daniel Templeton created YARN-7133:

             Summary: Clean up lock-try order fair scheduler
                 Key: YARN-7133
                 URL: https://issues.apache.org/jira/browse/YARN-7133
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: fairscheduler
    Affects Versions: 3.0.0-alpha4
            Reporter: Daniel Templeton

There are many places that follow the pattern:{code}try {
} finally {

There are a couple of reasons that's a bad idea.  The correct pattern is:{code}lock.lock();
try {
} finally {

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message