Could you post the code snippet and the error stack trace? -Xiangrui

On Mon, Jun 30, 2014 at 7:03 AM, Daniel Micol <dmi...@gmail.com> wrote:
> Hello,
>
> I’m trying to use KMeans with MLLib but am getting a TaskNotSerializable
> error. I’m using Spark 0.9.1 and invoking the KMeans.run method with k = 2
> and numPartitions = 200. Has anyone seen this error before and know what
> could be the reason for this?
>
> Thanks,
>
> Daniel

Reply via email to