Aerospike Exception while client.put



I am getting following error while performing write using “client.put” :

com.aerospike.client.AerospikeException: Error Code 1: Server error
at com.aerospike.client.command.WriteCommand.parseResult( ~[stormjar.jar:na] at com.aerospike.client.command.SyncCommand.execute( ~[stormjar.jar:na] at com.aerospike.client.AerospikeClient.put( ~[stormjar.jar:na]

When do we get “Error code 1” ?



You should see detail message in the log when client gets Error Code 1: Can you share that?

Log can be found at /var/log/aerospike/aerospike.log

– R



1 is a general server error. It’s not a permission problem, or being out of space, or misconfiguration, or anything else.

Thus, as Raj says, you need to look at the server log for a more specific error explanation.