I have an Ignite node running on a separate machine. The node was started
using bin/ignite.sh command.
On my local machine (Windows), I have a C# console application that use
Ignite Nuget package to connect to the remote node.
Following is the code:
var igniteConfiguration = new IgniteConfiguration();
igniteConfiguration.ClientMode = true;
igniteConfiguration.DiscoverySpi = new TcpDiscoverySpi
{
IpFinder = new TcpDiscoveryStaticIpFinder
{
Endpoints = new List<string> { "xxxx:47500" }
}
};
IIgnite ignite = Ignition.Start(igniteConfiguration);
But this throws an exception on the Start method as below:
Caused by: class org.apache.ignite.spi.IgniteSpiException: Local node and
remote
node have different version numbers (node will not join, Ignite does not
suppor
t rolling updates, so versions must be exactly the same) [locBuildVer=1.6.0,
rmt
BuildVer=1.6.0-SNAPSHOT, locNodeAddrs=[xxxx/0:0:0:0:0:0:0:
1%lo, /xxxx, /127.0.0.1], rmtNodeAddrs=[xxxx/0:0:0:0:0:0:0:1, xxxx/xxxx,
xxx/127.0.0.1, /xxxx, /xxxx],
locNodeId=84c9d371-f76c-49c8-a71f-5f974c94ee8f,
rmtNodeId=4b174081-7009-4f37-ae
c7-713bc88659b9]
at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.checkFailedError(
TcpDiscoverySpi.java:1644)
at
org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.body(Cli
entImpl.java:1461)
at
org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
[16:54:13] Ignite node stopped OK [uptime=00:00:06:575]
(note: some private/public ips have been changed to xxxx)
It is complaining that some build version is mismatching (only that server
has a SNAPSHOT to the version string).
Can anybody help in identified the issue?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-Net-not-successfully-connecting-tp5912.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.