我循环遍历嵌套对象并将其写入gemfire。我在写数据时遇到异常。
java.io.EOFException: The connection has been reset while reading the header
Pool unexpected closed socket on server connection=Pooled Connection to
as42.nj1.hcmny.com:37549: Connection[DESTROYED]). Server unreachable: could
not connect after 1 attempts; nested exception is
org.apache.geode.cache.client.ServerConnectivityException: Pool unexpected
closed socket on server connection=Pooled Connection to
as42.nj1.hcmny.com:37549: Connection[DESTROYED]). Server unreachable: could
not connect after 1 attempts
大约有100万条目。如果您需要更多信息,请告诉我。
答案 0 :(得分:0)
我明白了。我的消息长度太大,我的套接字由于邮件大小而崩溃。我增加了套接字缓冲区大小,现在可以正常工作。