java - Aerospike EOFException repeatedly -
using aerospike java client 4.0.6
aerospike server 3.14.1.2
repeatedly getting following exception :
com.aerospike.client.aerospikeexception: java.io.eofexception @ com.aerospike.client.async.nioeventloop.processkey(nioeventloop.java:276) @ com.aerospike.client.async.nioeventloop.runcommands(nioeventloop.java:206) @ com.aerospike.client.async.nioeventloop.run(nioeventloop.java:165) caused by: java.io.eofexception @ com.aerospike.client.async.nioconnection.read(nioconnection.java:112) @ com.aerospike.client.async.niocommand.read(niocommand.java:240) @ com.aerospike.client.async.nioeventloop.processkey(nioeventloop.java:254) ... 2 more
even if following steps mentioned in aerospike website async client http://www.aerospike.com/docs/client/java/usage/async
on debugging deep found class :com.aerospike.client.async.nioconnection
method :
public boolean read(bytebuffer bytebuffer) throws ioexception { while (bytebuffer.hasremaining()) { int len = socketchannel.read(bytebuffer); if (len == 0) { // got would-block. return false; } if (len < 0) { // server has shutdown socket. throw new eofexception(); } }` return true; }
but not getting configuration fix it.
Comments
Post a Comment