hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1300) SLS tests fail because conf puts yarn properties in fair-scheduler.xml
Date Fri, 11 Oct 2013 21:27:42 GMT

    [ https://issues.apache.org/jira/browse/YARN-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793058#comment-13793058
] 

Hudson commented on YARN-1300:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4586 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/4586/])
YARN-1300. SLS tests fail because conf puts YARN properties in fair-scheduler.xml (Ted Yu
via Sandy Ryza) (sandy: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1531423)
* /hadoop/common/trunk/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler-allocation.xml
* /hadoop/common/trunk/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler.xml
* /hadoop/common/trunk/hadoop-tools/hadoop-sls/src/test/resources/yarn-site.xml
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt


> SLS tests fail because conf puts yarn properties in fair-scheduler.xml
> ----------------------------------------------------------------------
>
>                 Key: YARN-1300
>                 URL: https://issues.apache.org/jira/browse/YARN-1300
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: yarn-1300-v1.patch, yarn-1300-v2.patch, yarn-1300-v3.patch
>
>
> I was looking at https://builds.apache.org/job/PreCommit-YARN-Build/2165//testReport/org.apache.hadoop.yarn.sls/TestSLSRunner/testSimulatorRunning/
> I am able to reproduce the failure locally.
> I found that FairSchedulerConfiguration.getAllocationFile() doesn't read the yarn.scheduler.fair.allocation.file
config entry from fair-scheduler.xml
> This leads to the following:
> {code}
> Caused by: org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationConfigurationException:
Bad fair scheduler config file: top-level element not <allocations>
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueueManager.reloadAllocs(QueueManager.java:302)
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueueManager.initialize(QueueManager.java:108)
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.reinitialize(FairScheduler.java:1145)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message