gpt4 book ai didi

java - Apache Ignite 节点失败 : Failed to read magic header

转载 作者:塔克拉玛干 更新时间:2023-11-01 22:21:36 27 4
gpt4 key购买 nike

部署在两台机器上的 Apache Ignite 服务器自动关闭。日志中没有具体线索。我能够在日志文件中看到以下警告消息:

[00:35:14,047][WARNING][tcp-disco-sock-reader-#86379%null%][TcpDiscoverySpi] 无法读取魔法 header (接收到的字节太少)[rmtAddr=/10.96 .36.48:47830, locAddr=/10.96.36.48:47500]

我该如何调试和解决这个问题?

配置:

    <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>

最佳答案

检查 10.96.36.48 机器上的哪个进程绑定(bind)到端口 47830。例如,netstat -lnp 将在每个监听端口旁边列出 pid 和进程名称。这将在 Linux 下工作。

关于java - Apache Ignite 节点失败 : Failed to read magic header,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45052844/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com