From dev-return-42342-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Fri Nov 23 09:22:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1C904180660 for ; Fri, 23 Nov 2018 09:22:04 +0100 (CET) Received: (qmail 14700 invoked by uid 500); 23 Nov 2018 08:22:04 -0000 Mailing-List: contact dev-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 dev@ignite.apache.org Received: (qmail 14689 invoked by uid 99); 23 Nov 2018 08:22:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2018 08:22:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 696C6CCFC6 for ; Fri, 23 Nov 2018 08:22:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id JKq4G5ZkSiOn for ; Fri, 23 Nov 2018 08:22: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 8C45E5FAE0 for ; Fri, 23 Nov 2018 08:22: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 9EFDCE00E1 for ; Fri, 23 Nov 2018 08:22: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 588C521095 for ; Fri, 23 Nov 2018 08:22:00 +0000 (UTC) Date: Fri, 23 Nov 2018 08:22:00 +0000 (UTC) From: "Arnaud Rivero (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-10389) Getting affinity for topology version earlier than affinity is calculated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Arnaud Rivero created IGNITE-10389: -------------------------------------- Summary: Getting affinity for topology version earlier than af= finity is calculated Key: IGNITE-10389 URL: https://issues.apache.org/jira/browse/IGNITE-10389 Project: Ignite Issue Type: Bug Affects Versions: 2.6 Reporter: Arnaud Rivero When we deploy a new Ignite cluster on YARN and we deploy an Ignite service= at the same time (by configuring it in the xml configuration file et putti= ng it in the IGNITE_USERS_LIBS path), we get=C2=A0the following exception (= the service name was replaced by XXXXXXXXXX):=C2=A0 =C2=A0 =C2=A0 {code:java} [14:48:42,004][SEVERE][srvc-deploy-#144][GridServiceProcessor] Error when e= xecuting service: XXXXXXXXXX java.lang.IllegalStateException: Getting affinity for topology version earl= ier than affinity is calculated [locNode=3DTcpDiscoveryNode [id=3Dfd770768-= 189d-4374-82af-2497eff173da, addrs=3D[127.0.0.1, 127.0.0.3, 172.19.153.13, = 172.19.154.13, 172.23.207.13, 192.168.5.1], sockAddrs=3D[bt1shujx.bpa.bouyg= uestelecom.fr/172.23.207.13:47500, /192.168.5.1:47500, /127.0.0.1:47500, bt= 1shujxg2.bpa.bouyguestelecom.fr/172.19.154.13:47500, bt1shujxg1.bpa.bouygue= stelecom.fr/172.19.153.13:47500, /127.0.0.3:47500], discPort=3D47500, order= =3D1, intOrder=3D1, lastExchangeTime=3D1542894520229, loc=3Dtrue, ver=3D2.6= .0#20180710-sha1:669feacc, isClient=3Dfalse], grp=3Dignite-sys-cache, topVe= r=3DAffinityTopologyVersion [topVer=3D2, minorTopVer=3D0], head=3DAffinityT= opologyVersion [topVer=3D4, minorTopVer=3D1], history=3D[AffinityTopologyVe= rsion [topVer=3D1, minorTopVer=3D0], AffinityTopologyVersion [topVer=3D4, m= inorTopVer=3D0], AffinityTopologyVersion [topVer=3D4, minorTopVer=3D1]]] at org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCac= he.cachedAffinity(GridAffinityAssignmentCache.java:632) at org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCac= he.nodes(GridAffinityAssignmentCache.java:532) at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.nod= esByPartition(GridCacheAffinityManager.java:225) at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.pri= maryByPartition(GridCacheAffinityManager.java:261) at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.pri= maryByKey(GridCacheAffinityManager.java:252) at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.pri= maryByKey(GridCacheAffinityManager.java:276) at org.apache.ignite.internal.processors.service.GridServiceProcessor$Topol= ogyListener$1.run0(GridServiceProcessor.java:1828) at org.apache.ignite.internal.processors.service.GridServiceProcessor$DepRu= nnable.run(GridServiceProcessor.java:2015) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav= a:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja= va:617) at java.lang.Thread.run(Thread.java:745) {code} =C2=A0 We found this previous issue and we wondered if we didn't meet an edge case= of it :=C2=A0 [IGNITE-1171|https://issues.apache.org/jira/browse/IGNITE-1171] =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)