Re: rdd.checkpoint() : driver-side lineage??

2014-10-22 Thread harsh2005_7
Hi, I am no expert but my best guess is that its a 'closure' problem.Spark map reduce internally does a closure of all the variables outside its scope which are being used for the map operation.It does a serialization check for the map task . Since class scala.util.Random is not serializable it

Re: Spark RDD member of class loses it's value when the class being used as graph attribute

2014-06-30 Thread harsh2005_7
The code base is huge but sharing the snapshot of it which I think might give you some idea . Here is my class Player which is supposed to be my vertex attribute : *class Player(var RvalRdd: RDD[((Int, Int), Double)], Slope_m: Double) extends Serializable { //Some code here }* As you can see

Issue in using classes with constructor as vertex attribute in graphx

2014-06-27 Thread harsh2005_7
Hi, I have a scenario where I am having a class X with constructor parameter as (RDD,Double).When I am initializing the the class object with corresponding RDD and double value (of name say x1) and putting it as a vertex attribute in graph , I am losing my RDD value . The Double value remains

Spark RDD member of class loses it's value when the class being used as graph attribute

2014-06-27 Thread harsh2005_7
Hi, I have a scenario where I am having a class X with constructor parameter as (RDD,Double).When I am initializing the the class object with corresponding RDD and double value (of name say x1) and *putting it as a vertex attribute in graph* , I am losing my RDD value . The Double value remains