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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -