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 "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/12/12 04:44:09 UTC
[jira] [Created] (YARN-1501) Fair Scheduler will NPE if it hits
IOException on queue assignment
Sandy Ryza created YARN-1501:
--------------------------------
Summary: 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: scheduler
Affects Versions: 2.2.0
Reporter: Sandy Ryza
{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.1.4#6159)