Java – Apache ignite node failed: unable to read magic header
•
Java
The Apache ignite server deployed on both computers will shut down automatically There is no specific clue in the log I can see the following warning messages in the log file:
[00:35:14047] [warning] [TCP disco sock reader -#86379% null%] [tcpdiscoveryspi] unable to read magic title (too few bytes received) [rmtaddr = / 10.96.36.48:47830, locaddr = / 10.96.36.48:47500]
How can I debug and solve this problem?
Configuration:
<bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="peerClassLoadingEnabled" value="true"/> <property name="cacheConfiguration"> <list> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="xyxCache" /> <property name="writeSynchronizationMode" value="FULL_SYNC" /> <property name="cacheMode" value="REPLICATED" /> <property name="rebalanceMode" value="SYNC" /> <property name="readFromBackup" value="true" /> <property name="startSize" value="150000" /> <property name="evictionPolicy"> <bean class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy"> <property name="maxSize" value="1000000" /> </bean> </property> </bean> </list> </property> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder"> <property name="addresses"> <list> <value>10.96.36.48:47500</value> <value>10.96.36.214:47500</value> </list> </property> </bean> </property> </bean> </property> </bean>
Solution
Check 10.96 36.48 which process does the machine bind to port 47830 For example, netstat - LNP will list the PID and process name next to each listening port This will run under Linux
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码