spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankur Dave <ankurd...@gmail.com>
Subject Re: counting degrees graphx
Date Tue, 27 May 2014 00:11:11 GMT
Oh, looks like the Scala Map isn't serializable. I switched the code to use
java.util.HashMap, which should work.

Ankur <http://www.ankurdave.com/>


On Mon, May 26, 2014 at 3:21 PM, daze5112 <david.zeelen2@ato.gov.au> wrote:

> Excellent thanks Ankur, looks like what im looking for  Only one problem
> the
> line
>
> val dists = initDists.pregel[DistanceMap](Map())(vprog, sendMsg, mergeMsg)
>
> produces an error
>  Job aborted: Task 268.0:5 had a not serializable result:
> java.io.NotSerializableException:
> scala.collection.immutable.MapLike$$anon$2
>
> any ideas?
>
> thanks
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/counting-degrees-graphx-tp6370p6405.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>

Mime
View raw message