[jira] [Commented] (IGNITE-7465) .NET: SqlDllExample fails with standalone node

2018-01-18 Thread Pavel Tupitsyn (JIRA)

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

Pavel Tupitsyn commented on IGNITE-7465:


* .NET {{TestRemoteNodes}} runs the example twice, and it fails only on the 
second run.
* Java {{SqlDdlExample}} is exactly the same, but the issue does not occur 
there (even if we run it multiple times with the same standalone nodes).

> .NET: SqlDllExample fails with standalone node
> --
>
> Key: IGNITE-7465
> URL: https://issues.apache.org/jira/browse/IGNITE-7465
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.4
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: .NET
> Fix For: 2.4
>
>
> Exception on query:
> {code}
> 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:1283)
>   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:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core\Impl\PlatformJniTarget.cs:line
>  379
>at 
> Apache.Ignite.Core.Impl.Cache.Query.PlatformQueryQursorBase`1.InitIterator() 
> in 
> C:\w\incubator-ignite\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:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Cache\Query\QueryCursorBase.cs:line
>  125
>at Apache.Ignite.Examples.Sql.SqlDdlExample.Main() in 
> C:\w\incubator-ignite\modules\platforms\dotnet\examples\Apache.Ignite.Examples\Sql\SqlDdlExample.cs:line
>  95
>at Apache.Ignite.Core.Tests.Examples.Example.Run() in 
> C:\w\incubator-ignite\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:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\ExamplesTest.cs:line
>  131
>at Apache.Ignite.Core.Tests.Examples.ExamplesTest.TestRemoteNodes(Example 
> example) in 
> C:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\ExamplesTest.cs:line
>  99
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7465) .NET: SqlDllExample fails with standalone node

2018-01-18 Thread Pavel Tupitsyn (JIRA)

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

Pavel Tupitsyn commented on IGNITE-7465:


Making dummy cache {code}replicated{code} (same as SQL cache) solves the 
problem.
But dummy cache does not participate in the query at all, looks like a bug.

> .NET: SqlDllExample fails with standalone node
> --
>
> Key: IGNITE-7465
> URL: https://issues.apache.org/jira/browse/IGNITE-7465
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.4
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: .NET
> Fix For: 2.4
>
>
> Exception on query:
> {code}
> 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:1283)
>   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:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core\Impl\PlatformJniTarget.cs:line
>  379
>at 
> Apache.Ignite.Core.Impl.Cache.Query.PlatformQueryQursorBase`1.InitIterator() 
> in 
> C:\w\incubator-ignite\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:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Cache\Query\QueryCursorBase.cs:line
>  125
>at Apache.Ignite.Examples.Sql.SqlDdlExample.Main() in 
> C:\w\incubator-ignite\modules\platforms\dotnet\examples\Apache.Ignite.Examples\Sql\SqlDdlExample.cs:line
>  95
>at Apache.Ignite.Core.Tests.Examples.Example.Run() in 
> C:\w\incubator-ignite\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:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\ExamplesTest.cs:line
>  131
>at Apache.Ignite.Core.Tests.Examples.ExamplesTest.TestRemoteNodes(Example 
> example) in 
> C:\w\incubator-ignite\modules\platforms\dotnet\Apache.Ignite.Core.Tests\Examples\ExamplesTest.cs:line
>  99
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)