# Aerospike client is not serialized

**URL:** <https://discuss.aerospike.com/t/aerospike-client-is-not-serialized/2657>\
**Category:** General Discussion\
**Tags:** java\
**Created:** [March 23, 2016, 3:04pm UTC](https://discuss.aerospike.com/t/aerospike-client-is-not-serialized/2657 "2016-03-23T15:04:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hafsa](https://avatars.discourse-cdn.com/v4/letter/h/0ea827/32.png) [@Hafsa](https://discuss.aerospike.com/u/Hafsa)\
**Post date:** [March 23, 2016, 3:04pm UTC](https://discuss.aerospike.com/t/aerospike-client-is-not-serialized/2657/1 "2016-03-23T15:04:48Z")

</div>

I am writing a code in Spring framework with stratio. It is ready records from aeropsike, perform some spark analysis into it and convert the resulted DataFrame to RDD. During that activity, I am facing this issue: AerospikeClient is not serialized. How to serialize it?

```
Error:
 object not serializable (class: com.aerospike.client.AerospikeClient, value: com.aerospike.client.AerospikeClient@1c62d2ad)

```
