[
https://issues.apache.org/jira/browse/YARN-8268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468701#comment-16468701
]
Gergo Repas commented on YARN-8268:
-----------------------------------
When only applying the test changes (in TestAllocationFileLoaderService) to
current trunk and running this test, the following assertion fails:
{code:java}
java.lang.AssertionError: reservable queue should not be a parent queue
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestAllocationFileLoaderService.testReservableQueue(TestAllocationFileLoaderService.java:811)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
{code}
This demonstrates the problem with the current allocation file processing. The
rest of the changes in the attached patch addresses this issue.
> Fair scheduler: reservable queue is configured both as parent and leaf queue
> ----------------------------------------------------------------------------
>
> Key: YARN-8268
> URL: https://issues.apache.org/jira/browse/YARN-8268
> Project: Hadoop YARN
> Issue Type: Bug
> Components: fairscheduler
> Affects Versions: 3.1.0
> Reporter: Gergo Repas
> Assignee: Gergo Repas
> Priority: Major
> Fix For: 3.2.0
>
> Attachments: YARN-8268.000.patch
>
>
> The following allocation file
> {code}
> <?xml version="1.0"?>
> <allocations>
> <queue name="root">
> <aclAdministerApps>someuser </aclAdministerApps>
> <queue name="default">
> <aclAdministerApps>someuser </aclAdministerApps>
> </queue>
> <queue name="dedicated">
> <reservation>
> </reservation>
> <aclAdministerApps>someuser </aclAdministerApps>
> </queue>
> </queue>
> <defaultQueueSchedulingPolicy>drf</defaultQueueSchedulingPolicy>
> </allocations>
> {code}
> is being parsed as: {{PARENT=[root, root.dedicated], LEAF=[root.default,
> root.dedicated]}} (AllocationConfiguration.configuredQueues).
> The root.dedicated should only appear as a LEAF queue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]