GenericData.Array not serlizable when run on spark
<p>I am using <code>GenericData.Array</code> type of <strong>Avro format</strong> in my method and when I run my program on <em>spark</em> it gives an error:</p>

<blockquote>
  <p>GenericData.Array not serliazable .</p>
</blockquote>

<p>Can you suggest how can I make it serlizable ??</p>