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

Ignite TC Bot commented on IGNITE-12749:
----------------------------------------

{panel:title=Branch: [pull/7563/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5153009&buildTypeId=IgniteTests24Java8_RunAll]

> Unsupported operation exception on node stop if collisionspi not null
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-12749
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12749
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Nikolay Izhikov
>            Assignee: Yaroslav Molochkov
>            Priority: Major
>              Labels: newbie
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If collision spi specified then on the node stop there are exception:
> {noformat}
> java.lang.UnsupportedOperationException
>       at 
> org.jsr166.ConcurrentLinkedHashMap.clear(ConcurrentLinkedHashMap.java:1542)
>       at 
> org.apache.ignite.internal.processors.job.GridJobProcessor.stop(GridJobProcessor.java:376)
>       at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2697)
>       at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2569)
>       at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2660)
>       at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2623)
>       at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:339)
>       at org.apache.ignite.Ignition.stop(Ignition.java:223)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest.stopGrid(GridAbstractTest.java:1316)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest.stopAllGrids(GridAbstractTest.java:1361)
>  {noformat}
> The issue in the next line:
> {code:java}
>     public GridJobProcessor(GridKernalContext ctx) {
>         // Collision manager is already started and is fully functional.
>         jobAlwaysActivate = !ctx.collision().enabled();
>         activeJobs = jobAlwaysActivate ? new ConcurrentHashMap<IgniteUuid, 
> GridJobWorker>() :
>             new JobsMap(1024, 0.75f, 256);
> {code}
> We need replace JobsMap with the correct implementation.



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

Reply via email to