Apache Ignite node fail: Failed to read magic header

Apache Ignite servers deployed on two machines are automatically shut down. No specific clue in the logs. I can see the following warning message in the log file:

[00:35:14,047][WARNING][tcp-disco-sock-reader-#86379%null%][TcpDiscoverySpi] Failed to read magic header (too few bytes received) [rmtAddr=/10.96.36.48:47830, locAddr=/10.96.36.48:47500]

How can I debug and resolve this issue?

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>

      

+3


source to share


2 answers


Check which process on machine 10.96.36.48 is bound to port 47830. For example, it netstat -lnp

will display the pid name and process next to each listening port. This will work under Linux.



+4


source


This usually happens if some other application like telnet connects to the port.



Tell us about your settings and settings, without which it is impossible to answer further.

+3


source







All Articles