hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1501) Fair Scheduler will NPE if it hits IOException on queue assignment
Date Wed, 06 May 2015 03:28:37 GMT

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

Allen Wittenauer updated YARN-1501:
-----------------------------------
    Labels: BB2015-05-TBR newbie  (was: newbie)

> Fair Scheduler will NPE if it hits IOException on queue assignment
> ------------------------------------------------------------------
>
>                 Key: YARN-1501
>                 URL: https://issues.apache.org/jira/browse/YARN-1501
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.2.0
>            Reporter: Sandy Ryza
>            Assignee: haosdent
>              Labels: BB2015-05-TBR, newbie
>             Fix For: 2.2.1
>
>         Attachments: YARN-1501.patch
>
>
> {code}
>     try {
>       QueuePlacementPolicy placementPolicy = allocConf.getPlacementPolicy();
>       queueName = placementPolicy.assignAppToQueue(queueName, user);
>       if (queueName == null) {
>         return null;
>       }
>       queue = queueMgr.getLeafQueue(queueName, true);
>     } catch (IOException ex) {
>       LOG.error("Error assigning app to queue, rejecting", ex);
>     }
>     
>     if (rmApp != null) {
>       rmApp.setQueue(queue.getName());
>     } else {
>       LOG.warn("Couldn't find RM app to set queue name on");
>     }
> {code}



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

Mime
View raw message