Susheel Gupta created YARN-11464:
------------------------------------

             Summary: <reservation> queue element is added to any other  leaf 
queue, it's queueType becomes QueueType.PARENT_QUEUE
                 Key: YARN-11464
                 URL: https://issues.apache.org/jira/browse/YARN-11464
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
    Affects Versions: 3.3.4
            Reporter: Susheel Gupta


This testcase clearly reproduces the issue. There is a missing dot before 
"auto-queue-creation-v2.enabled" for method call assertNoValueForQueues.
{code:java}
@Test
public void testAutoCreateV2FlagsInWeightMode() {
  converter = builder.withPercentages(false).build();

  converter.convertQueueHierarchy(rootQueue);

  assertTrue("root autocreate v2 flag",
      csConfig.getBoolean(
          PREFIX + "root.auto-queue-creation-v2.enabled", false));
  assertTrue("root.admins autocreate v2 flag",
      csConfig.getBoolean(
          PREFIX + "root.admins.auto-queue-creation-v2.enabled", false));
  assertTrue("root.users autocreate v2 flag",
      csConfig.getBoolean(
          PREFIX + "root.users.auto-queue-creation-v2.enabled", false));
  assertTrue("root.misc autocreate v2 flag",
      csConfig.getBoolean(
          PREFIX + "root.misc.auto-queue-creation-v2.enabled", false));

  Set<String> leafs = Sets.difference(ALL_QUEUES,
      Sets.newHashSet("root",
          "root.default",
          "root.admins",
          "root.users",
          "root.misc"));
  assertNoValueForQueues(leafs, "auto-queue-creation-v2.enabled",
      csConfig);
} {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to