Re: Failed to connect to any address from IP finder

2018-07-22 Thread vkulichenko
Anand, I don't think it's a version issue. As I mentioned earlier, you server was bound to 47501 according to you logs. I believe after restart it bound to 47500 and your client was able to connect. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to connect to any address from IP finder

2018-07-21 Thread anand
Thanks @vkulichenko. I have tried that earlier giving range from 47000..48000. I will try it again and update here. For now, I have updated ignite version to 2.6.0 and it' working fine. Though I would love to know what was issue with 2.5.0. Best. Anand -- Sent from: http://apache-ignite-users.

Re: Failed to connect to any address from IP finder

2018-07-21 Thread vkulichenko
You server node bound to port 47501 rather than 47500 for some reason (most likely the latter was occupied by some other process). Try to add port range to the IP finder on client side. Replace this line: ipFinder.setAddresses(Arrays.asList("127.0.0.1", "172.20.98.77")); with this: ipFinder.setA

Failed to connect to any address from IP finder

2018-07-21 Thread anand
Hi All, I have been through all related thread before posting this message. I'm facing this issue while running application on CentOS but working fine in MacOS. any help would be great. issue: Failed to connect to any address from IP finder (will retry to join topology every 20

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
Which issue? As I said, embedded mode was deprecated a long time ago, as this docs says: https://apacheignite-fs.readme.io/docs/ignitecontext-igniterdd#section-ignitecontext and looks like it was discontinued. Consider starting a separate Ignite cluster and using standalone mode to avoid data consi

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
I think we are deviating from the point. The core issue still remains. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
how? You will start a client node, connect to your cluster and will interact with it via this client. 2018-07-19 13:08 GMT+03:00 chetanj : > I am now explicitly setting the clientmode as False in the java code. > > "You can use ExampleNodeStartup to start Ignite node from idea." > > --- this defe

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
I am now explicitly setting the clientmode as False in the java code. "You can use ExampleNodeStartup to start Ignite node from idea." --- this defeats the purpose of executing spark code across Ignite nodes. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
As you using integration with spark, it enables clientMode flag internally - it doesn't make any sense to create new server each time for integrating with spark - you should have already started server nodes. You can use ExampleNodeStartup to start Ignite node from idea. 2018-07-19 12:34 GMT+03:00

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
Yes i have recompiled, get the same error still. as told earlier i have removed the explicit declaration for setclientmode. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
Well, then you can try to recompile it or rerun Idea. I see that clientMode was explicitly set in IgniteConfiguration. 2018-07-19 12:21 GMT+03:00 chetanj : > > Interesting.. I am not getting any logs in the Work directory. for the > server node. > Intellij code is the only piece is run, so not su

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
Interesting.. I am not getting any logs in the Work directory. for the server node. Intellij code is the only piece is run, so not sure why its starting the client. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
interesting.. I am not getting any logs in the Work directory. and this is the only code which i execute, so not sure why its starting the client. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
You still starting a client node. Do you have logs for server node? 2018-07-19 12:11 GMT+03:00 chetanj : > log.txt > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
log.txt -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
well, then please share the full log from the node. 2018-07-19 12:05 GMT+03:00 chetanj : > I am not using both Code and Config.xml at the same time. I just shared to > demonstrate that either of the approaches do not work. > > Step1 : First i try with the xml config. it didnt work > Step2 : then

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
I am not using both Code and Config.xml at the same time. I just shared to demonstrate that either of the approaches do not work. Step1 : First i try with the xml config. it didnt work Step2 : then i tried via the code, it didnt work. currently both my server and client nodes are not running.

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
I don't understand which configuration you use - you sharing both java code and xml config, which configures the same thing. Which configuration you use? 2018-07-19 11:58 GMT+03:00 chetanj : > there are no other clients running, not even the server node. I have > specified the range in the def

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
there are no other clients running, not even the server node. I have specified the range in the default-config.xml 127.0.0.1:47500..47509 Btw, thanks for the speedy response an

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
then can you share the full reproducer? 2018-07-19 11:44 GMT+03:00 chetanj : > changing it to "false" setClientMode(false) , still gives the same > IP_FINDER > error > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
If you're facing the same error, most possible that other node(most possible client) already was started on the port 47500. At the same time, you server node starts on the next port(47501 for example). But your configuration contains only one address in ipFinder - 47500. You need to make sure that

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
changing it to "false" setClientMode(false) , still gives the same IP_FINDER error -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Chetan Jayaram
ist[String] >> addressList.add("127.0.0.1:47500") >> ipFinder.setAddresses(addressList) >> tcpDiscoverySpi.setIpFinder(ipFinder) >> tcpDiscoverySpi.setLocalAddress("127.0.0.1") >> val igniteConf : IgniteConfiguration = new >

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
gniteConfiguration().setClientMode(true).setDiscoverySpi(tcpDiscoverySpi) > igniteConf}) > > but still face the same error. > > [16:27:41] Failed to connect to any address from IP finder (will retry to > join topology every 2000 ms; change 'reconnectDelay' to configure the > frequency of retries): [/127.0.0.1:47500] > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread chetanj
but still face the same error. [16:27:41] Failed to connect to any address from IP finder (will retry to join topology every 2000 ms; change 'reconnectDelay' to configure the frequency of retries): [/127.0.0.1:47500] -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: [TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Evgenii Zhuravlev
ark-scala > > Machine : standalone laptop. > > OS : Windows. > > > > 2. Error : Failed to connect to any address from IP finder > > > > [14:07:23,378][INFO][main][IgniteKernal] Non-loopback local IPs: > 143.8.46.36 > > [14:07:23,378][INFO][main][IgniteKe

[TcpDiscoverySpi] Failed to connect to any address from IP finder

2018-07-19 Thread Chetan Jayaram
: standalone laptop. OS : Windows. 2. Error : Failed to connect to any address from IP finder [14:07:23,378][INFO][main][IgniteKernal] Non-loopback local IPs: 143.8.46.36 [14:07:23,378][INFO][main][IgniteKernal] Enabled local MACs: 0205857FEB80, 14ABC55A5CE4, 14ABC55A5CE5, 14ABC55A5CE8, 54EE75CEE461