From issues-return-62034-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Apr 16 16:47:04 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 3936C18076D for ; Mon, 16 Apr 2018 16:47:04 +0200 (CEST) Received: (qmail 19812 invoked by uid 500); 16 Apr 2018 14:47:03 -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 19803 invoked by uid 99); 16 Apr 2018 14:47:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2018 14:47:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EAC0FC0115 for ; Mon, 16 Apr 2018 14:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id zuxJW0c56cZ5 for ; Mon, 16 Apr 2018 14:47:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8F4B85F2C3 for ; Mon, 16 Apr 2018 14:47: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 E8430E0C55 for ; Mon, 16 Apr 2018 14:47: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 648F2241C8 for ; Mon, 16 Apr 2018 14:47:00 +0000 (UTC) Date: Mon, 16 Apr 2018 14:47:00 +0000 (UTC) From: "Andrey Gura (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-7468) Irrelevant "Caches have distinct sets of data nodes" error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrey Gura updated IGNITE-7468: -------------------------------- Fix Version/s: (was: 2.5) 2.6 > Irrelevant "Caches have distinct sets of data nodes" error > ---------------------------------------------------------- > > Key: IGNITE-7468 > URL: https://issues.apache.org/jira/browse/IGNITE-7468 > Project: Ignite > Issue Type: Bug > Components: sql > Affects Versions: 2.4 > Reporter: Pavel Tupitsyn > Priority: Major > Fix For: 2.6 > > > The following error is possible when doing PUBLIC schema queries with joins through a "dummy" cache: > {code} > Apache.Ignite.Core.Cache.CacheException : Caches have distinct sets of data nodes [cache1=dummy_cache, cache2=SQL_PUBLIC_PERSON] > ----> Apache.Ignite.Core.Common.JavaException : javax.cache.CacheException: Caches have distinct sets of data nodes [cache1=dummy_cache, cache2=SQL_PUBLIC_PERSON] > at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.stableDataNodes(GridReduceQueryExecutor.java:499) > at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.nodesForPartitions(GridReduceQueryExecutor.java:1486) > at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:591) > at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$8.iterator(IgniteH2Indexing.java:1286) > at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:95) > at org.apache.ignite.internal.processors.platform.cache.query.PlatformAbstractQueryCursor.processInLongOutLong(PlatformAbstractQueryCursor.java:147) > at org.apache.ignite.internal.processors.platform.PlatformTargetProxyImpl.inLongOutLong(PlatformTargetProxyImpl.java:55) > at Apache.Ignite.Core.Impl.PlatformJniTarget.InLongOutLong(Int32 type, Int64 val) in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\PlatformJniTarget.cs:line 379 > at Apache.Ignite.Core.Impl.Cache.Query.PlatformQueryQursorBase`1.InitIterator() in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Cache\Query\PlatformQueryQursorBase.cs:line 74 > at Apache.Ignite.Core.Impl.Cache.Query.QueryCursorBase`1.GetEnumerator() in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Cache\Query\QueryCursorBase.cs:line 125 > at Apache.Ignite.Examples.Sql.SqlDdlExample.Main() in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\examples\Apache.Ignite.Examples\Sql\SqlDdlExample.cs:line 95 > at Apache.Ignite.Core.Tests.Examples.Example.Run() in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\Example.cs:line 52 > at Apache.Ignite.Core.Tests.Examples.ExamplesTest.TestRemoteNodes(Example example, Boolean clientMode) in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\ExamplesTest.cs:line 131 > at Apache.Ignite.Core.Tests.Examples.ExamplesTest.TestRemoteNodes(Example example) in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\ExamplesTest.cs:line 99 > --JavaException > at Apache.Ignite.Core.Impl.Unmanaged.Jni.Env.ExceptionCheck() in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\Jni\Env.cs:line 490 > at Apache.Ignite.Core.Impl.Unmanaged.Jni.Env.CallLongMethod(GlobalRef obj, IntPtr methodId, Int64* argsPtr) in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\Jni\Env.cs:line 203 > at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.TargetInLongOutLong(GlobalRef target, Int32 opType, Int64 memPtr) in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line 83 > at Apache.Ignite.Core.Impl.PlatformJniTarget.InLongOutLong(Int32 type, Int64 val) in c:\BuildAgent\work\bd85361428dcdb1\modules\platforms\dotnet\Apache.Ignite.Core\Impl\PlatformJniTarget.cs:line 375 > {code} > * This reproduces in .NET {{SqlDdlExample}}. It is the same as Java example, but in Java it does not reproduce. > * Adding sleep(3000) before the query fixes the issue. > * Making dummy cache {{replicated}} fixes the issue > See IGNITE-7465. -- This message was sent by Atlassian JIRA (v7.6.3#76005)