tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From László Bodor (Jira) <j...@apache.org>
Subject [jira] [Resolved] (TEZ-4116) TestTaskSchedulerManager.testTaskBasedAffinity fails in preCommit regularly
Date Wed, 22 Jan 2020 23:34:00 GMT

     [ https://issues.apache.org/jira/browse/TEZ-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

László Bodor resolved TEZ-4116.
-------------------------------
    Resolution: Invalid

seems like failures in TEZ-4101 are related to that patch, this is invalid

> TestTaskSchedulerManager.testTaskBasedAffinity fails in preCommit regularly
> ---------------------------------------------------------------------------
>
>                 Key: TEZ-4116
>                 URL: https://issues.apache.org/jira/browse/TEZ-4116
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: László Bodor
>            Priority: Major
>         Attachments: patch-unit-tez-dag.txt
>
>
> {code}
> Error Message
> Wanted but not invoked:
> taskScheduler.allocateTask(
>     Mock for TaskAttemptImpl, hashCode: 1958148268,
>     <memory:100, vCores:1>,
>     Mock for ContainerId, hashCode: 162527046,
>     3,
>     null,
>     EventType: S_TA_LAUNCH_REQUEST
> );
> -> at org.apache.tez.dag.app.rm.TestTaskSchedulerManager.testTaskBasedAffinity(TestTaskSchedulerManager.java:327)
> However, there were other interactions with this mock:
> taskScheduler.initialize();
> -> at org.apache.tez.dag.app.ServicePluginLifecycleAbstractService.serviceInit(ServicePluginLifecycleAbstractService.java:36)
> taskScheduler.start();
> -> at org.apache.tez.dag.app.ServicePluginLifecycleAbstractService.serviceStart(ServicePluginLifecycleAbstractService.java:41)
> Stacktrace
> org.mockito.exceptions.verification.WantedButNotInvoked: 
> Wanted but not invoked:
> taskScheduler.allocateTask(
>     Mock for TaskAttemptImpl, hashCode: 1958148268,
>     <memory:100, vCores:1>,
>     Mock for ContainerId, hashCode: 162527046,
>     3,
>     null,
>     EventType: S_TA_LAUNCH_REQUEST
> );
> -> at org.apache.tez.dag.app.rm.TestTaskSchedulerManager.testTaskBasedAffinity(TestTaskSchedulerManager.java:327)
> However, there were other interactions with this mock:
> taskScheduler.initialize();
> -> at org.apache.tez.dag.app.ServicePluginLifecycleAbstractService.serviceInit(ServicePluginLifecycleAbstractService.java:36)
> taskScheduler.start();
> -> at org.apache.tez.dag.app.ServicePluginLifecycleAbstractService.serviceStart(ServicePluginLifecycleAbstractService.java:41)
> 	at org.apache.tez.dag.app.rm.TestTaskSchedulerManager.testTaskBasedAffinity(TestTaskSchedulerManager.java:327)
> Standard Output
> 2020-01-15 10:34:33,326 INFO  [main] shim.HadoopShimsLoader (HadoopShimsLoader.java:<init>(80))
- Trying to locate HadoopShimProvider for hadoopVersion=3.0.3, majorVersion=3, minorVersion=0
> 2020-01-15 10:34:33,327 INFO  [main] shim.HadoopShimsLoader (HadoopShimsLoader.java:<init>(139))
- Picked HadoopShim org.apache.tez.hadoop.shim.DefaultHadoopShim, providerName=null, overrideProviderViaConfig=null,
hadoopVersion=3.0.3, majorVersion=3, minorVersion=0
> 2020-01-15 10:34:33,452 ERROR [TaskSchedulerEventHandlerThread] rm.TaskSchedulerManager
(TaskSchedulerManager.java:run(686)) - Error in handling event type S_TA_LAUNCH_REQUEST to
the TaskScheduler
> java.lang.NullPointerException
> 	at org.apache.tez.dag.app.rm.TaskSchedulerManager.handleTaLaunchRequest(TaskSchedulerManager.java:495)
> 	at org.apache.tez.dag.app.rm.TaskSchedulerManager.handleEvent(TaskSchedulerManager.java:273)
> 	at org.apache.tez.dag.app.rm.TaskSchedulerManager$1.run(TaskSchedulerManager.java:684)
> {code}



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

Mime
View raw message