单个 ignite 节点与我的应用程序一起运行,但它没有启动,因为 ignite 不断尝试寻找其他节点
日志中充满了如下消息:
o.a.i.s.d.tcp.TcpDiscoverySpi - TCP discovery accepted incoming connection [rmtAddr=/127.0.0.1, rmtPort=59459]
o.a.i.s.d.tcp.TcpDiscoverySpi - TCP discovery spawning a new thread for connection [rmtAddr=/127.0.0.1, rmtPort=59459]
o.a.i.s.d.tcp.TcpDiscoverySpi - Started serving remote node connection [rmtAddr=/127.0.0.1:59459, rmtPort=59459]
o.a.i.s.d.tcp.TcpDiscoverySpi - Finished serving remote node connection [rmtAddr=/127.0.0.1:59459, rmtPort=59459
为 discoverySpi 点燃配置:
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="localPort" value="48550"/>
<property name="localPortRange" value="1"/>
<property name="ipFinder">
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
<property name="addresses">
<list>
<value>myNode:48550</value>
</list>
</property>
</bean>
</property>
</bean>
</property>
配置中是否有任何我遗漏的东西可以解决问题?如果未指定端口范围,为什么 Ignite 甚至会尝试在其他端口上查找节点?
慕妹3146593
相关分类