2022-06-20 17:25:18,873 INFO [main] conf.Configuration (Configuration.java:getConfResourceAsInputStream(2875)) - resource-types.xml not found 2022-06-20 17:25:18,874 INFO [main] resource.ResourceUtils (ResourceUtils.java:addResourcesFileToConf(476)) - Unable to find 'resource-types.xml'. 2022-06-20 17:25:18,912 INFO [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:initialize(126)) - Initializing CSMappingPlacementRule queue mapping manager. 2022-06-20 17:25:18,913 INFO [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:initialize(155)) - Initialized queue mappings, can override user specified queues: true number of rules: 2 mapping rules: [MappingRule{matcher=VariableMatcher{variable='%user', value='test.user'}, action=VariableUpdateAction{variableName='%default', variableValue='root.user'}}, MappingRule{matcher=VariableMatcher{variable='%user', value='test.user'}, action=PlaceToQueueAction{queueName='%default',allowCreate=false}}] 2022-06-20 17:25:18,913 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:initialize(160)) - Initialized with the following mapping rules: 2022-06-20 17:25:18,914 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:lambda$initialize$0(161)) - MappingRule{matcher=VariableMatcher{variable='%user', value='test.user'}, action=VariableUpdateAction{variableName='%default', variableValue='root.user'}} 2022-06-20 17:25:18,914 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:lambda$initialize$0(161)) - MappingRule{matcher=VariableMatcher{variable='%user', value='test.user'}, action=PlaceToQueueAction{queueName='%default',allowCreate=false}} 2022-06-20 17:25:18,987 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:getPlacementForApp(414)) - Looking placement for app 'app' originally submitted to queue 'default', with override enabled 'true' 2022-06-20 17:25:18,988 WARN [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:cleanName(531)) - Name test.user is converted to test_dot_user when it is used as a queue name. 2022-06-20 17:25:18,988 WARN [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:cleanName(531)) - Name main.grp is converted to main_dot_grp when it is used as a queue name. 2022-06-20 17:25:18,988 WARN [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:cleanName(531)) - Name sec.test.grp is converted to sec_dot_test_dot_grp when it is used as a queue name. 2022-06-20 17:25:18,990 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:evaluateRule(365)) - Evaluated rule 'MappingRule{matcher=VariableMatcher{variable='%user', value='test.user'}, action=VariableUpdateAction{variableName='%default', variableValue='root.user'}}' with result: 'SKIP' 2022-06-20 17:25:18,992 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:evaluateRule(365)) - Evaluated rule 'MappingRule{matcher=VariableMatcher{variable='%user', value='test.user'}, action=PlaceToQueueAction{queueName='%default',allowCreate=false}}' with result: 'SKIP' 2022-06-20 17:25:18,992 INFO [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:getPlacementForApp(464)) - No matching rule found for application 'app', moving to next PlacementRule engine 2022-06-20 17:25:18,992 DEBUG [main] placement.CSMappingPlacementRule (CSMappingPlacementRule.java:getPlacementForApp(486)) - Placement final result 'null' for application 'null' junit.framework.AssertionFailedError: test.user should be placed to root.user.test_dot_user at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.assertTrue(Assert.java:22) at junit.framework.Assert.assertNotNull(Assert.java:256) at junit.framework.TestCase.assertNotNull(TestCase.java:399) at org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.TestCSMappingPlacementRule.assertPlace(TestCSMappingPlacementRule.java:191) at org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.TestCSMappingPlacementRule.testUserNameSetDefaultAndPlaceWith2Rules(TestCSMappingPlacementRule.java:885) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)