You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2014/02/04 20:50:09 UTC

[jira] [Commented] (TEZ-795) TestContainerReuse.testReuseNonLocalRequest fails intermittently

    [ https://issues.apache.org/jira/browse/TEZ-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891097#comment-13891097 ] 

Hitesh Shah commented on TEZ-795:
---------------------------------

Logs:

{code}
2014-02-03 18:08:54,735 INFO  [Thread-4] rm.TaskScheduler (TaskScheduler.java:serviceInit(304)) - TaskScheduler initialized with configuration: maxRMHeartbeatInterval: 1000, containerReuseEnabled: true, reuseRackLocal: true, reuseNonLocal: true, localitySchedulingDelay: 100, sessionDelay=10000
2014-02-03 18:08:54,775 INFO  [Thread-4] rm.TaskSchedulerEventHandler (TaskSchedulerEventHandler.java:handleEvent(113)) - Processing the event EventType: S_TA_LAUNCH_REQUEST
2014-02-03 18:08:54,776 INFO  [Thread-4] rm.TaskScheduler (TaskScheduler.java:allocateTask(799)) - Allocation request for task: Mock for TaskAttempt, hashCode: 1152423575 with request: Capability[<memory:1024, vCores:1>]Priority[3] host: null rack: default-rack
2014-02-03 18:08:54,880 INFO  [DelayedContainerManager] util.RackResolver (RackResolver.java:coreResolve(109)) - Resolved randomHost to /default-rack
2014-02-03 18:08:54,981 INFO  [DelayedContainerManager] util.RackResolver (RackResolver.java:coreResolve(109)) - Resolved randomHost to /default-rack
2014-02-03 18:08:54,986 INFO  [DelayedContainerManager] rm.TaskScheduler (TaskScheduler.java:doBookKeepingForAssignedContainer(1268)) - Assigning container to task, container=Container: [ContainerId: container_1_0001_01_000001, NodeId: randomHost:0, NodeHttpAddress: randomHost:0, Resource: <memory:1024, vCores:1>, Priority: 3, Token: null, ], task=Mock for TaskAttempt, hashCode: 1152423575, containerHost=randomHost, localityMatchType=NonLocal, matchedLocation=*, honorLocalityFlags=false, reusedContainer=false, delayedContainers=0, containerResourceMemory=1024, containerResourceVCores=1
2014-02-03 18:08:54,988 INFO  [Thread-4] rm.TaskSchedulerEventHandler (TaskSchedulerEventHandler.java:handleEvent(113)) - Processing the event EventType: S_TA_LAUNCH_REQUEST
2014-02-03 18:08:54,988 INFO  [Thread-4] rm.TaskScheduler (TaskScheduler.java:allocateTask(799)) - Allocation request for task: Mock for TaskAttempt, hashCode: 1488264233 with request: Capability[<memory:1024, vCores:1>]Priority[3] host: null rack: default-rack
2014-02-03 18:08:54,989 INFO  [Thread-4] rm.TaskSchedulerEventHandler (TaskSchedulerEventHandler.java:handleEvent(113)) - Processing the event EventType: S_TA_ENDED
2014-02-03 18:08:54,989 INFO  [Thread-4] rm.TaskScheduler (TaskScheduler.java:deallocateTask(830)) - Deallocated task: Mock for TaskAttempt, hashCode: 1152423575 from container: container_1_0001_01_000001
{code}

> TestContainerReuse.testReuseNonLocalRequest fails intermittently
> ----------------------------------------------------------------
>
>                 Key: TEZ-795
>                 URL: https://issues.apache.org/jira/browse/TEZ-795
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Priority: Blocker
>
> org.mockito.exceptions.verification.WantedButNotInvoked: 
> Wanted but not invoked:
> taskSchedulerEventHandlerForTest.taskAllocated(
>     Mock for TaskAttempt, hashCode: 1488264233,
>     <any>,
>     Container: [ContainerId: container_1_0001_01_000001, NodeId: randomHost:0, NodeHttpAddress: randomHost:0, Resource: <memory:1024, vCores:1>, Priority: 3, Token: null, ]
> );
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:589)
> However, there were other interactions with this mock:
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:524)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:524)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:524)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:525)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:525)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:525)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:525)
> -> at org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:257)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:527)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:559)
> -> at org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:572)
> -> at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:577)
> 	at org.apache.tez.dag.app.rm.TestContainerReuse.testReuseNonLocalRequest(TestContainerReuse.java:589)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)