Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E196E2004F1 for ; Wed, 30 Aug 2017 11:23:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E018D167C3B; Wed, 30 Aug 2017 09:23:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 07927167AFA for ; Wed, 30 Aug 2017 11:23:04 +0200 (CEST) Received: (qmail 20576 invoked by uid 500); 30 Aug 2017 09:23:04 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 20567 invoked by uid 99); 30 Aug 2017 09:23:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2017 09:23:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C12031A0D1F for ; Wed, 30 Aug 2017 09:23:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id HnBKqS-rilD2 for ; Wed, 30 Aug 2017 09:23:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 66D6D5FE5F for ; Wed, 30 Aug 2017 09:23:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 62275E03EE for ; Wed, 30 Aug 2017 09:23:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 14B5F24147 for ; Wed, 30 Aug 2017 09:23:00 +0000 (UTC) Date: Wed, 30 Aug 2017 09:23:00 +0000 (UTC) From: "Vladislav Pyatkov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-6213) Unexpected setting local deployment owner anyone node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 30 Aug 2017 09:23:06 -0000 [ https://issues.apache.org/jira/browse/IGNITE-6213?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D161= 46941#comment-16146941 ]=20 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=3Dtrue {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=3Dtrue {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 sudden= ly. > {noformat} > 16:55:47.868=20 > [ DEBUG]=20 > [ o.a.i.i.p.c.GridCacheDeploymentManager]=20 > [ T:] - Prepared grid cache deployable=20 > [ dep=3DGridDeploymentInfoBean=20 > [ clsLdrId=3Daefa3c4fd51-12bb727e-4815-4ab2-8f8c-cc6fd52c8553, depMode=3D= SHARED, userVer=3D0, locDepOwner=3Dtrue, participants=3Dnull], deployable= =3DGridNearAtomicSingleUpdateRequest=20 > [ key=3DUserKeyCacheObjectImpl=20 > [ part=3D111, val=3D4=03=E7=BF=BF=E7=BF=BF, hasValBytes=3Dtrue], super=3D= GridNearAtomicSingleUpdateRequest=20 > [ key=3DUserKeyCacheObjectImpl=20 > [ part=3D111, val=3D4=03=E7=BF=BF=E7=BF=BF, hasValBytes=3Dtrue], parent= =3DGridNearAtomicAbstractSingleUpdateRequest=20 > [ nodeId=3D45acc827-8a2d-47d3-aa04-94936ad25ac2, futId=3D81921, topVer=3D= AffinityTopologyVersion=20 > [ topVer=3D4, minorTopVer=3D0], parent=3DGridNearAtomicAbstractUpdateRequ= est=20 > [ res=3Dnull, flags=3D]]]]] > {noformat} > By the reason global participant was been registered: > {noformat} > 16:55:47.871=20 > [ DEBUG]=20 > [ o.a.i.i.m.d.GridDeploymentPerVersionStore]=20 > [ T:] - Explicitly added participant=20 > [ dep=3DSharedDeployment=20 > [ rmv=3Dfalse, super=3DGridDeployment=20 > [ ts=3D1503050146264, depMode=3DSHARED, clsLdr=3DGridDeploymentClassLoad= er=20 > [ id=3Dacaa3c4fd51-45acc827-8a2d-47d3-aa04-94936ad25ac2, singleNode=3Dfa= lse, nodeLdrMap=3D{12bb727e-4815-4ab2-8f8c-cc6fd52c8553=3Daefa3c4fd51-12bb7= 27e-4815-4ab2-8f8c-cc6fd52c8553, 101abc71-83b4-4a87-bb07-14e4cbc7226e=3D2c0= 44c4fd51-101abc71-83b4-4a87-bb07-14e4cbc7226e, 9d30737f-44d2-4414-b84d-25f0= 32484290=3De70b3c4fd51-9d30737f-44d2-4414-b84d-25f032484290}, p2pTimeout=3D= 5000, usrVer=3D0, depMode=3DSHARED, quiet=3Dfalse], clsLdrId=3Dacaa3c4fd51-= 45acc827-8a2d-47d3-aa04-94936ad25ac2, userVer=3D0, loc=3Dfalse, sampleClsNa= me=3Dcom.sbt.dpl.gridgain.index.InvokeIndexAdder, pendingUndeploy=3Dfalse, = undeployed=3Dfalse, usage=3D0]], nodeId=3D12bb727e-4815-4ab2-8f8c-cc6fd52c8= 553, ldrId=3Daefa3c4fd51-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=3Dcom.sbt.azimut= h_psi.publisher.forms.computing.parallelBatchCollectForm$TestMapFunction, t= askClsName=3Dcom.sbt.azimuth_psi.publisher.forms.computing.parallelBatchCol= lectForm$TestMapFunction, codeVer=3D0, clsLdrId=3D2c044c4fd51-101abc71-83b4= -4a87-bb07-14e4cbc7226e, seqNum=3D1503050088642, depMode=3DSHARED, dep=3Dnu= ll] > org.apache.ignite.IgniteDeploymentException: Task was not deployed or was= redeployed since task execution [taskName=3Dcom.sbt.azimuth_psi.publisher.= forms.computing.parallelBatchCollectForm$TestMapFunction, taskClsName=3Dcom= .sbt.azimuth_psi.publisher.forms.computing.parallelBatchCollectForm$TestMap= Function, codeVer=3D0, clsLdrId=3D2c044c4fd51-101abc71-83b4-4a87-bb07-14e4c= bc7226e, seqNum=3D1503050088642, depMode=3DSHARED, dep=3Dnull] > =09at org.apache.ignite.internal.processors.job.GridJobProcessor.processJ= obExecuteRequest(GridJobProcessor.java:1160) ~[ignite-core-2.1.3.jar:2.1.3] > =09at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecu= tionListener.onMessage(GridJobProcessor.java:1908) [ignite-core-2.1.3.jar:2= .1.3] > =09at org.apache.ignite.internal.managers.communication.GridIoManager.inv= okeListener(GridIoManager.java:1556) [ignite-core-2.1.3.jar:2.1.3] > =09at org.apache.ignite.internal.managers.communication.GridIoManager.pro= cessRegularMessage0(GridIoManager.java:1184) [ignite-core-2.1.3.jar:2.1.3] > =09at org.apache.ignite.internal.managers.communication.GridIoManager.acc= ess$4200(GridIoManager.java:126) [ignite-core-2.1.3.jar:2.1.3] > =09at org.apache.ignite.internal.managers.communication.GridIoManager$9.r= un(GridIoManager.java:1097) [ignite-core-2.1.3.jar:2.1.3] > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1145) [na:1.7.0_80] > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:615) [na:1.7.0_80] > =09at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)