Aerospike Exception while client.put

Hi,

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(WriteCommand.java:59) ~[stormjar.jar:na] at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) ~[stormjar.jar:na] at com.aerospike.client.AerospikeClient.put(AerospikeClient.java:295) ~[stormjar.jar:na]

When do we get “Error code 1” ?

Holmes,

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

Holmes,

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.