ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladislav Pyatkov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-6213) Unexpected setting local deployment owner anyone node
Date Wed, 30 Aug 2017 09:23:00 GMT

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

Vladislav Pyatkov edited comment on IGNITE-6213 at 8/30/17 9:22 AM:
--------------------------------------------------------------------

I have prepared a solution with will be allow to workarounded the issue.
All server nodes should add a JVM flag:
{code}
-DIGNITE_DISABLE_P2P_DEPLOYMENT_OWNERSHIP=true
{code}
by default value is false (standard behavior).
It will not allow any server assign {{locDepOwner}} flag as true.
Look at upper PR.


was (Author: v.pyatkov):
I have prepared a solution with will be allow to workarounded the issue.
All server nodes should add a JVM flag:
{code}
-DIGNITE_DISABLE_P2P_DEPLOYMENT_OWNERSHIP=true
{code}
It will not allow any server assign {{locDepOwner}} flag as true.
Look at upper PR.

> Unexpected setting local deployment owner anyone node
> -----------------------------------------------------
>
>                 Key: IGNITE-6213
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6213
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>
> In my test I have seen, when one node tune up {{locDepOwner}} flag suddenly.
> {noformat}
> 16:55:47.868 
> [ DEBUG] 
> [ o.a.i.i.p.c.GridCacheDeploymentManager] 
> [ T:] - Prepared grid cache deployable 
> [ dep=GridDeploymentInfoBean 
> [ clsLdrId=aefa3c4fd51-12bb727e-4815-4ab2-8f8c-cc6fd52c8553, depMode=SHARED, userVer=0,
locDepOwner=true, participants=null], deployable=GridNearAtomicSingleUpdateRequest 
> [ key=UserKeyCacheObjectImpl 
> [ part=111, val=4翿翿, hasValBytes=true], super=GridNearAtomicSingleUpdateRequest

> [ key=UserKeyCacheObjectImpl 
> [ part=111, val=4翿翿, hasValBytes=true], parent=GridNearAtomicAbstractSingleUpdateRequest

> [ nodeId=45acc827-8a2d-47d3-aa04-94936ad25ac2, futId=81921, topVer=AffinityTopologyVersion

> [ topVer=4, minorTopVer=0], parent=GridNearAtomicAbstractUpdateRequest 
> [ res=null, flags=]]]]]
> {noformat}
> By the reason global participant was been registered:
> {noformat}
> 16:55:47.871 
> [  DEBUG] 
> [  o.a.i.i.m.d.GridDeploymentPerVersionStore] 
> [  T:] - Explicitly added participant 
> [  dep=SharedDeployment 
> [  rmv=false, super=GridDeployment 
> [  ts=1503050146264, depMode=SHARED, clsLdr=GridDeploymentClassLoader 
> [  id=acaa3c4fd51-45acc827-8a2d-47d3-aa04-94936ad25ac2, singleNode=false, nodeLdrMap={12bb727e-4815-4ab2-8f8c-cc6fd52c8553=aefa3c4fd51-12bb727e-4815-4ab2-8f8c-cc6fd52c8553,
101abc71-83b4-4a87-bb07-14e4cbc7226e=2c044c4fd51-101abc71-83b4-4a87-bb07-14e4cbc7226e, 9d30737f-44d2-4414-b84d-25f032484290=e70b3c4fd51-9d30737f-44d2-4414-b84d-25f032484290},
p2pTimeout=5000, usrVer=0, depMode=SHARED, quiet=false], clsLdrId=acaa3c4fd51-45acc827-8a2d-47d3-aa04-94936ad25ac2,
userVer=0, loc=false, sampleClsName=com.sbt.dpl.gridgain.index.InvokeIndexAdder, pendingUndeploy=false,
undeployed=false, usage=0]], nodeId=12bb727e-4815-4ab2-8f8c-cc6fd52c8553, ldrId=aefa3c4fd51-12bb727e-4815-4ab2-8f8c-cc6fd52c8553]
> {noformat}
> And after that I am geting the Exception when try to get class from node where the class
was not located:
> {noformat}
> 16:55:50.684 [ERROR] [o.a.i.i.p.job.GridJobProcessor] [T:] - Task was not deployed or
was redeployed since task execution [taskName=com.sbt.azimuth_psi.publisher.forms.computing.parallelBatchCollectForm$TestMapFunction,
taskClsName=com.sbt.azimuth_psi.publisher.forms.computing.parallelBatchCollectForm$TestMapFunction,
codeVer=0, clsLdrId=2c044c4fd51-101abc71-83b4-4a87-bb07-14e4cbc7226e, seqNum=1503050088642,
depMode=SHARED, dep=null]
> org.apache.ignite.IgniteDeploymentException: Task was not deployed or was redeployed
since task execution [taskName=com.sbt.azimuth_psi.publisher.forms.computing.parallelBatchCollectForm$TestMapFunction,
taskClsName=com.sbt.azimuth_psi.publisher.forms.computing.parallelBatchCollectForm$TestMapFunction,
codeVer=0, clsLdrId=2c044c4fd51-101abc71-83b4-4a87-bb07-14e4cbc7226e, seqNum=1503050088642,
depMode=SHARED, dep=null]
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1160)
~[ignite-core-2.1.3.jar:2.1.3]
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1908)
[ignite-core-2.1.3.jar:2.1.3]
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
[ignite-core-2.1.3.jar:2.1.3]
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
[ignite-core-2.1.3.jar:2.1.3]
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:126)
[ignite-core-2.1.3.jar:2.1.3]
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1097)
[ignite-core-2.1.3.jar:2.1.3]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message