[jira] [Created] (FLINK-19728) YARN tests failed with "RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19728) YARN tests failed with "RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified"

Shang Yuanchun (Jira)
Dian Fu created FLINK-19728:
-------------------------------

             Summary: YARN tests failed with "RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified"
                 Key: FLINK-19728
                 URL: https://issues.apache.org/jira/browse/FLINK-19728
             Project: Flink
          Issue Type: Bug
          Components: Deployment / YARN
    Affects Versions: 1.12.0
            Reporter: Dian Fu


https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=7880&view=logs&j=245e1f2e-ba5b-5570-d689-25ae21e5302f&t=e7f339b2-a7c3-57d9-00af-3712d4b15354

{code}
2020-10-19T21:53:36.9360054Z [INFO] Running org.apache.flink.yarn.YARNHighAvailabilityITCase
2020-10-19T21:53:39.7175350Z org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 32, maximum allocation: 4096, testing-external-resource=name: testing-external-resource, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 4}. Use DominantResourceCalculator instead to make effective use of these resource-types
2020-10-19T21:53:39.7177209Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:346)
2020-10-19T21:53:39.7177866Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:425)
2020-10-19T21:53:39.7178772Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:39.7179272Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:39.7179843Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:819)
2020-10-19T21:53:39.7180380Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:39.7180903Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1224)
2020-10-19T21:53:39.7181591Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:318)
2020-10-19T21:53:39.7182090Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:39.7182562Z at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
2020-10-19T21:53:39.7183084Z at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
2020-10-19T21:53:39.7183622Z at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
2020-10-19T21:53:39.7184153Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:39.7184722Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:39.7185218Z at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
2020-10-19T21:53:39.7185681Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:39.7186115Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:649)
2020-10-19T21:53:39.7186555Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:39.7187005Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:608)
2020-10-19T21:53:39.7187502Z at org.apache.flink.yarn.YARNHighAvailabilityITCase.setup(YARNHighAvailabilityITCase.java:124)
2020-10-19T21:53:39.7187947Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:39.7188399Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:39.7188887Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:39.7189367Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:39.7189781Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:39.7190267Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:39.7190762Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:39.7191214Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:39.7191675Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:39.7192123Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:39.7192540Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:39.7192975Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:39.7193397Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:39.7193761Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:39.7194202Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:39.7194773Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:39.7195270Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:39.7195850Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:39.7196376Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:39.7196888Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:39.7197369Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:39.7197830Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:39.7302125Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.789 s <<< FAILURE! - in org.apache.flink.yarn.YARNHighAvailabilityITCase
2020-10-19T21:53:39.7303025Z [ERROR] org.apache.flink.yarn.YARNHighAvailabilityITCase  Time elapsed: 2.789 s  <<< FAILURE!
2020-10-19T21:53:39.7303403Z java.lang.AssertionError
2020-10-19T21:53:39.7303684Z at org.junit.Assert.fail(Assert.java:86)
2020-10-19T21:53:39.7303979Z at org.junit.Assert.fail(Assert.java:95)
2020-10-19T21:53:39.7315900Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:699)
2020-10-19T21:53:39.7316373Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:39.7316847Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:608)
2020-10-19T21:53:39.7317343Z at org.apache.flink.yarn.YARNHighAvailabilityITCase.setup(YARNHighAvailabilityITCase.java:124)
2020-10-19T21:53:39.7317771Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:39.7318186Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:39.7318764Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:39.7319200Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:39.7319662Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:39.7320163Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:39.7320635Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:39.7321115Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:39.7321571Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:39.7322001Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:39.7322435Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:39.7322874Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:39.7323258Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:39.7323627Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:39.7324057Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:39.7324640Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:39.7325146Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:39.7325638Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:39.7326140Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:39.7326669Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:39.7327158Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:39.7327597Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:39.7327869Z
2020-10-19T21:53:40.3750536Z [INFO] Running org.apache.flink.yarn.YARNFileReplicationITCase
2020-10-19T21:53:41.9922803Z org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 32, maximum allocation: 4096, testing-external-resource=name: testing-external-resource, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 4}. Use DominantResourceCalculator instead to make effective use of these resource-types
2020-10-19T21:53:41.9925410Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:346)
2020-10-19T21:53:41.9926534Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:425)
2020-10-19T21:53:41.9927407Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:41.9928157Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:41.9929123Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:819)
2020-10-19T21:53:41.9929876Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:41.9930420Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1224)
2020-10-19T21:53:41.9931012Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:318)
2020-10-19T21:53:41.9931561Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:41.9932054Z at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
2020-10-19T21:53:41.9932582Z at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
2020-10-19T21:53:41.9933397Z at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
2020-10-19T21:53:41.9934171Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:41.9935038Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:41.9935855Z at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
2020-10-19T21:53:41.9936603Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:41.9937142Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:649)
2020-10-19T21:53:41.9937816Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:41.9938444Z at org.apache.flink.yarn.YARNFileReplicationITCase.setup(YARNFileReplicationITCase.java:65)
2020-10-19T21:53:41.9938869Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:41.9939289Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:41.9939789Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:41.9940206Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:41.9940638Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:41.9941174Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:41.9941651Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:41.9942135Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:41.9942598Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:41.9943025Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:41.9943463Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:41.9944051Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:41.9944513Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:41.9944953Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:41.9945434Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:41.9945955Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:41.9946525Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:41.9947129Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:41.9947649Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:41.9948138Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:41.9948664Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:42.0607300Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.682 s <<< FAILURE! - in org.apache.flink.yarn.YARNFileReplicationITCase
2020-10-19T21:53:42.0608115Z [ERROR] org.apache.flink.yarn.YARNFileReplicationITCase  Time elapsed: 1.682 s  <<< FAILURE!
2020-10-19T21:53:42.0608596Z java.lang.AssertionError
2020-10-19T21:53:42.0608891Z at org.junit.Assert.fail(Assert.java:86)
2020-10-19T21:53:42.0609213Z at org.junit.Assert.fail(Assert.java:95)
2020-10-19T21:53:42.0609604Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:699)
2020-10-19T21:53:42.0610096Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:42.0610630Z at org.apache.flink.yarn.YARNFileReplicationITCase.setup(YARNFileReplicationITCase.java:65)
2020-10-19T21:53:42.0611153Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:42.0611595Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:42.0612121Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:42.0612584Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:42.0613027Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:42.0613559Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:42.0614078Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:42.0614747Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:42.0615243Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:42.0615721Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:42.0616176Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:42.0616614Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:42.0617096Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:42.0617553Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:42.0618097Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:42.0618710Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:42.0619217Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:42.0619778Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:42.0620352Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:42.0620875Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:42.0621585Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:42.0621859Z
2020-10-19T21:53:42.7061131Z [INFO] Running org.apache.flink.yarn.YarnConfigurationITCase
2020-10-19T21:53:44.3195961Z org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 32, maximum allocation: 4096, testing-external-resource=name: testing-external-resource, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 4}. Use DominantResourceCalculator instead to make effective use of these resource-types
2020-10-19T21:53:44.3198447Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:346)
2020-10-19T21:53:44.3199434Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:425)
2020-10-19T21:53:44.3200008Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:44.3200501Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:44.3201075Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:819)
2020-10-19T21:53:44.3201617Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:44.3202187Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1224)
2020-10-19T21:53:44.3202870Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:318)
2020-10-19T21:53:44.3203424Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:44.3204125Z at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
2020-10-19T21:53:44.3204898Z at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
2020-10-19T21:53:44.3205458Z at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
2020-10-19T21:53:44.3206010Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:44.3206509Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:44.3207024Z at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
2020-10-19T21:53:44.3207528Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:44.3207995Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:649)
2020-10-19T21:53:44.3208520Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:44.3209045Z at org.apache.flink.yarn.YarnTestBase.setup(YarnTestBase.java:725)
2020-10-19T21:53:44.3209461Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:44.3209887Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:44.3210416Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:44.3210880Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:44.3211327Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:44.3211857Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:44.3212375Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:44.3212865Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:44.3213490Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:44.3214009Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:44.3214552Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:44.3214982Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:44.3215391Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:44.3215844Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:44.3216459Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:44.3217016Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:44.3217527Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:44.3218081Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:44.3218766Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:44.3219277Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:44.3219768Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:44.3908419Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.681 s <<< FAILURE! - in org.apache.flink.yarn.YarnConfigurationITCase
2020-10-19T21:53:44.3909218Z [ERROR] org.apache.flink.yarn.YarnConfigurationITCase  Time elapsed: 1.681 s  <<< FAILURE!
2020-10-19T21:53:44.3909609Z java.lang.AssertionError
2020-10-19T21:53:44.3909893Z at org.junit.Assert.fail(Assert.java:86)
2020-10-19T21:53:44.3910223Z at org.junit.Assert.fail(Assert.java:95)
2020-10-19T21:53:44.3910585Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:699)
2020-10-19T21:53:44.3911043Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:44.3911498Z at org.apache.flink.yarn.YarnTestBase.setup(YarnTestBase.java:725)
2020-10-19T21:53:44.3911884Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:44.3912307Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:44.3912910Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:44.3913382Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:44.3913839Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:44.3914470Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:44.3914997Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:44.3915502Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:44.3916052Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:44.3916597Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:44.3917060Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:44.3917478Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:44.3917880Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:44.3918449Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:44.3919031Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:44.3919571Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:44.3920098Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:44.3920828Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:44.3921399Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:44.3921920Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:44.3922401Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:44.3922699Z
2020-10-19T21:53:45.0363811Z [INFO] Running org.apache.flink.yarn.YARNSessionCapacitySchedulerITCase
2020-10-19T21:53:46.6520359Z org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 32, maximum allocation: 4096, testing-external-resource=name: testing-external-resource, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 4}. Use DominantResourceCalculator instead to make effective use of these resource-types
2020-10-19T21:53:46.6522862Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:346)
2020-10-19T21:53:46.6523558Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:425)
2020-10-19T21:53:46.6524147Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:46.6525008Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:46.6525762Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:819)
2020-10-19T21:53:46.6526334Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:46.6527082Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1224)
2020-10-19T21:53:46.6527695Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:318)
2020-10-19T21:53:46.6528484Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:46.6528974Z at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
2020-10-19T21:53:46.6529515Z at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
2020-10-19T21:53:46.6530131Z at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
2020-10-19T21:53:46.6530650Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:46.6531138Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:46.6531646Z at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
2020-10-19T21:53:46.6532119Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:46.6532569Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:649)
2020-10-19T21:53:46.6533027Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:46.6533493Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:608)
2020-10-19T21:53:46.6534037Z at org.apache.flink.yarn.YARNSessionCapacitySchedulerITCase.setup(YARNSessionCapacitySchedulerITCase.java:130)
2020-10-19T21:53:46.6534620Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:46.6535033Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:46.6535528Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:46.6535979Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:46.6536559Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:46.6537073Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:46.6537573Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:46.6538091Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:46.6538642Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:46.6539110Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:46.6539626Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:46.6540081Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:46.6540478Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:46.6540916Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:46.6541444Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:46.6541968Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:46.6542458Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:46.6542993Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:46.6543554Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:46.6544041Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:46.6544586Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:46.7247677Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.686 s <<< FAILURE! - in org.apache.flink.yarn.YARNSessionCapacitySchedulerITCase
2020-10-19T21:53:46.7248506Z [ERROR] org.apache.flink.yarn.YARNSessionCapacitySchedulerITCase  Time elapsed: 1.686 s  <<< FAILURE!
2020-10-19T21:53:46.7248899Z java.lang.AssertionError
2020-10-19T21:53:46.7249223Z at org.junit.Assert.fail(Assert.java:86)
2020-10-19T21:53:46.7249522Z at org.junit.Assert.fail(Assert.java:95)
2020-10-19T21:53:46.7249935Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:699)
2020-10-19T21:53:46.7250374Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:46.7250822Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:608)
2020-10-19T21:53:46.7251353Z at org.apache.flink.yarn.YARNSessionCapacitySchedulerITCase.setup(YARNSessionCapacitySchedulerITCase.java:130)
2020-10-19T21:53:46.7251932Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:46.7252360Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:46.7252882Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:46.7253353Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:46.7253800Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:46.7254467Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:46.7254991Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:46.7255509Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:46.7256008Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:46.7256488Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:46.7256941Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:46.7257541Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:46.7257945Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:46.7258475Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:46.7259018Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:46.7259566Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:46.7260136Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:46.7260848Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:46.7261419Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:46.7261924Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:46.7262415Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:46.7262694Z
2020-10-19T21:53:47.3644907Z [INFO] Running org.apache.flink.yarn.YARNITCase
2020-10-19T21:53:48.9846587Z org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 32, maximum allocation: 4096, testing-external-resource=name: testing-external-resource, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 4}. Use DominantResourceCalculator instead to make effective use of these resource-types
2020-10-19T21:53:48.9849883Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:346)
2020-10-19T21:53:48.9850867Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:425)
2020-10-19T21:53:48.9851487Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:48.9852002Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:48.9852585Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:819)
2020-10-19T21:53:48.9853162Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:48.9853900Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1224)
2020-10-19T21:53:48.9855009Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:318)
2020-10-19T21:53:48.9855895Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:48.9856558Z at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
2020-10-19T21:53:48.9857112Z at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
2020-10-19T21:53:48.9857673Z at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
2020-10-19T21:53:48.9858230Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:48.9858912Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:48.9859426Z at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
2020-10-19T21:53:48.9859946Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:48.9860408Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:649)
2020-10-19T21:53:48.9860864Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:48.9861581Z at org.apache.flink.yarn.YARNITCase.setup(YARNITCase.java:75)
2020-10-19T21:53:48.9861969Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:48.9862423Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:48.9862950Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:48.9863395Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:48.9863861Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:48.9864501Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:48.9865209Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:48.9865700Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:48.9866197Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:48.9866683Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:48.9867136Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:48.9867562Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:48.9867949Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:48.9868482Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:48.9869082Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:48.9869619Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:48.9870151Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:48.9870709Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:48.9871270Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:48.9871792Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:48.9872285Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:49.0546948Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.688 s <<< FAILURE! - in org.apache.flink.yarn.YARNITCase
2020-10-19T21:53:49.0547665Z [ERROR] org.apache.flink.yarn.YARNITCase  Time elapsed: 1.688 s  <<< FAILURE!
2020-10-19T21:53:49.0548046Z java.lang.AssertionError
2020-10-19T21:53:49.0548516Z at org.junit.Assert.fail(Assert.java:86)
2020-10-19T21:53:49.0548895Z at org.junit.Assert.fail(Assert.java:95)
2020-10-19T21:53:49.0549285Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:699)
2020-10-19T21:53:49.0549769Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:49.0550232Z at org.apache.flink.yarn.YARNITCase.setup(YARNITCase.java:75)
2020-10-19T21:53:49.0550638Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:49.0551088Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:49.0551595Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:49.0552063Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:49.0552527Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:49.0553042Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:49.0553572Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:49.0554079Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:49.0554664Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:49.0555349Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:49.0555823Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:49.0556233Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:49.0556641Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:49.0557111Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:49.0557632Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:49.0558269Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:49.0558899Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:49.0559444Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:49.0560025Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:49.0560541Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:49.0561047Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:49.0561340Z
2020-10-19T21:53:49.7062373Z [INFO] Running org.apache.flink.yarn.YARNApplicationITCase
2020-10-19T21:53:51.3180617Z org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 32, maximum allocation: 4096, testing-external-resource=name: testing-external-resource, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 4}. Use DominantResourceCalculator instead to make effective use of these resource-types
2020-10-19T21:53:51.3182548Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:346)
2020-10-19T21:53:51.3183233Z at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:425)
2020-10-19T21:53:51.3183794Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:51.3184412Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:51.3184993Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:819)
2020-10-19T21:53:51.3185544Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:51.3186099Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1224)
2020-10-19T21:53:51.3186708Z at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:318)
2020-10-19T21:53:51.3187207Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:51.3187713Z at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
2020-10-19T21:53:51.3188239Z at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
2020-10-19T21:53:51.3188844Z at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
2020-10-19T21:53:51.3189378Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:51.3189867Z at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
2020-10-19T21:53:51.3190370Z at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
2020-10-19T21:53:51.3190886Z at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
2020-10-19T21:53:51.3191593Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:649)
2020-10-19T21:53:51.3192033Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:51.3192531Z at org.apache.flink.yarn.YARNApplicationITCase.setup(YARNApplicationITCase.java:57)
2020-10-19T21:53:51.3192968Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:51.3193377Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:51.3193880Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:51.3194498Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:51.3194926Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:51.3195436Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:51.3195931Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:51.3196438Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:51.3196914Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:51.3197387Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:51.3197823Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:51.3198235Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:51.3198693Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:51.3199135Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:51.3199651Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:51.3200175Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:51.3200720Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:51.3201248Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:51.3201798Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:51.3202282Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:51.3202759Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-10-19T21:53:51.3861339Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.677 s <<< FAILURE! - in org.apache.flink.yarn.YARNApplicationITCase
2020-10-19T21:53:51.3862099Z [ERROR] org.apache.flink.yarn.YARNApplicationITCase  Time elapsed: 1.677 s  <<< FAILURE!
2020-10-19T21:53:51.3862459Z java.lang.AssertionError
2020-10-19T21:53:51.3862740Z at org.junit.Assert.fail(Assert.java:86)
2020-10-19T21:53:51.3863076Z at org.junit.Assert.fail(Assert.java:95)
2020-10-19T21:53:51.3863439Z at org.apache.flink.yarn.YarnTestBase.start(YarnTestBase.java:699)
2020-10-19T21:53:51.3863895Z at org.apache.flink.yarn.YarnTestBase.startYARNWithConfig(YarnTestBase.java:612)
2020-10-19T21:53:51.3864523Z at org.apache.flink.yarn.YARNApplicationITCase.setup(YARNApplicationITCase.java:57)
2020-10-19T21:53:51.3864946Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-10-19T21:53:51.3865378Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-19T21:53:51.3865887Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-10-19T21:53:51.3866328Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-10-19T21:53:51.3866766Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-10-19T21:53:51.3867269Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-10-19T21:53:51.3867948Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-10-19T21:53:51.3868608Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-10-19T21:53:51.3869082Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-10-19T21:53:51.3869527Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:51.3869975Z at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2020-10-19T21:53:51.3870415Z at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2020-10-19T21:53:51.3870899Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-10-19T21:53:51.3871355Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-10-19T21:53:51.3871870Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-10-19T21:53:51.3872384Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-10-19T21:53:51.3872897Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-10-19T21:53:51.3873435Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-10-19T21:53:51.3873972Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-10-19T21:53:51.3874560Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-10-19T21:53:51.3875041Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)