@ezhuravlev
I am not starting the server node via ignite.bat. The main issue i am facing
is executing the Ignite in Intellij.
1. Do i have to start the server node separately [ignite.bat] . I am
currently executing Ignite from Intellij - Run Edit configuration with VM
parameters ->
-DIGNITE_HOME=<path to the -> apache-ignite-fabric-2.6.0-bin >
-Djava.net.preferIPv4Stack=true
2. TCP IP parameter is optional in the default-config.xml, but whether it
include or not, i am still getting the IP_FINDER error.
I included the entire in my code (thanks @WT) :
val igniteContext = new IgniteContext(sparkContext,
() =>{
val tcpDiscoverySpi: TcpDiscoverySpi = new TcpDiscoverySpi
val ipFinder: TcpDiscoveryVmIpFinder = new TcpDiscoveryVmIpFinder
val addressList: java.util.List[String] = new
java.util.ArrayList[String]
addressList.add("127.0.0.1:47500")
ipFinder.setAddresses(addressList)
tcpDiscoverySpi.setIpFinder(ipFinder)
tcpDiscoverySpi.setLocalAddress("127.0.0.1")
val igniteConf : IgniteConfiguration = new
IgniteConfiguration().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/