Igor created IGNITE-27280:
-----------------------------

             Summary: Client 3.2.0-SNAPSHOT is not compatible with 3.1.0
                 Key: IGNITE-27280
                 URL: https://issues.apache.org/jira/browse/IGNITE-27280
             Project: Ignite
          Issue Type: Bug
          Components: jdbc ai3
    Affects Versions: 3.2
            Reporter: Igor


*Steps to reproduce:*

Connect to 3.1.0 cluster with 3.2.0-SNAPSHOT client.

*Expected:* 

Connected successfully.

*Actual:*

Exception on the client side:
{code:java}
Failed to connect to server
java.sql.SQLException: Failed to connect to server
    at 
org.apache.ignite.jdbc.IgniteJdbcDriver.connect(IgniteJdbcDriver.java:222)
    at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
    at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:252)
    at 
org.gridgain.ai3tests.core.datasource.SimpleDataSource.getConnection(SimpleDataSource.java:22)
    at 
org.gridgain.ai3tests.tests.BasicAi3OperationsBaseTest.testSaveAndGetFromCache(BasicAi3OperationsBaseTest.java:34)
    at 
org.gridgain.ai3tests.tests.BasicAi3Operations1NodeTest.testSaveAndGetFromCache(BasicAi3Operations1NodeTest.java:40)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.apache.ignite.client.IgniteClientConnectionException: 
IGN-CLIENT-1 Connection to node aborted, because the node does not support the 
feature required by the driver being used. Please refer to the documentation 
and use a compatible version of the JDBC driver to connect to this node 
[name=BasicAi3Operations1NodeTest_cluster_0, address=localhost:10800, 
productVersion=3.1.0, driverVersion=3.0] TraceId:b71cd1f0
    at 
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
    at 
org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:952)
    at 
org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:886)
    at 
org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:688)
    at 
org.apache.ignite.internal.util.ViewUtils.copyExceptionWithCauseIfPossible(ViewUtils.java:91)
    at 
org.apache.ignite.internal.util.ViewUtils.ensurePublicException(ViewUtils.java:71)
    at org.apache.ignite.internal.util.ViewUtils.sync(ViewUtils.java:54)
    at 
org.apache.ignite.jdbc.IgniteJdbcDriver.createIgniteClient(IgniteJdbcDriver.java:342)
    at 
org.apache.ignite.jdbc.IgniteJdbcDriver.connect(IgniteJdbcDriver.java:220)
    ... 10 more
Caused by: org.apache.ignite.client.IgniteClientConnectionException: 
IGN-CLIENT-1 Connection to node aborted, because the node does not support the 
feature required by the driver being used. Please refer to the documentation 
and use a compatible version of the JDBC driver to connect to this node 
[name=BasicAi3Operations1NodeTest_cluster_0, address=localhost:10800, 
productVersion=3.1.0, driverVersion=3.0] TraceId:b71cd1f0
    at 
org.apache.ignite.jdbc.IgniteJdbcDriver.lambda$createIgniteClient$1(IgniteJdbcDriver.java:332)
    at 
org.apache.ignite.internal.client.ReliableChannel$ClientChannelHolder.lambda$getOrCreateChannelAsync$2(ReliableChannel.java:878)
    at 
java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
    at 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
    at 
java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
    at 
java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:653)
    at 
java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at 
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at 
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at 
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to