Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Error Message Wanted but not invoked: taskSchedulerManagerForTest.taskAllocated( 0, Mock for TaskAttempt, hashCode: 1347526857, <any>, Container: [ContainerId: container_1_0001_01_000001, NodeId: host1:0, NodeHttpAddress: host1:0, Resource: <memory:1024, vCores:1>, Priority: 3, Token: null, ] ); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:914) However, there were other interactions with this mock: taskSchedulerManagerForTest.init( Configuration: core-default.xml, core-site.xml, yarn-default.xml, yarn-site.xml ); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:864) taskSchedulerManagerForTest.setConfig( Configuration: core-default.xml, core-site.xml, yarn-default.xml, yarn-site.xml ); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:864) taskSchedulerManagerForTest.serviceInit( Configuration: core-default.xml, core-site.xml, yarn-default.xml, yarn-site.xml ); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:864) taskSchedulerManagerForTest.start(); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:865) taskSchedulerManagerForTest.serviceStart(); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:865) taskSchedulerManagerForTest.instantiateSchedulers( "host", 0, "", Mock for AppContext, hashCode: 479893106 ); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:865) taskSchedulerManagerForTest.getContainerSignatureMatcher(); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:865) taskSchedulerManagerForTest.getConfig(); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:865) taskSchedulerManagerForTest.getSpyTaskScheduler(); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:867) taskSchedulerManagerForTest.handleEvent( EventType: S_TA_LAUNCH_REQUEST ); -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseAcrossVertices(TestContainerReuse.java:904) taskSchedulerManagerForTest.setApplicationRegistrationData( 0, Mock for Resource, hashCode: 1762338057, Mock for Map, hashCode: 1521264575, null ); -> at org.apache.tez.dag.app.rm.TaskSchedulerContextImpl.setApplicationRegistrationData(TaskSchedulerContextImpl.java:92)
Attachments
Issue Links
- duplicates
-
TEZ-3000 Fix TestContainerReuse
- Closed