Passing RDD's around is not a good idea. RDD's are immutable and cant be changed inside functions. Have you considered taking a different approach?
On Thu, Feb 26, 2015 at 3:42 AM, dritanbleco <dritan.bl...@gmail.com> wrote: > Hello > > i am trying to pass as a parameter a org.apache.spark.rdd.RDD table to a > recursive function. This table should be changed in any step of the > recursion and could not be just a global var > > need help :) > > Thank you > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-to-pass-a-org-apache-spark-rdd-RDD-in-a-recursive-function-tp21805.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > > -- [image: Sigmoid Analytics] <http://htmlsig.com/www.sigmoidanalytics.com> *Arush Kharbanda* || Technical Teamlead ar...@sigmoidanalytics.com || www.sigmoidanalytics.com