Mapping with extra arguments

2014-08-21 Thread TJ Klein
Hi, I am using Spark in Python. I wonder if there is a possibility for passing extra arguments to the mapping function. In my scenario, after each map I update parameters, which I want to use in the folllowning new iteration of mapping. Any idea? Thanks in advance. -Tassilo -- View

Re: Mapping with extra arguments

2014-08-21 Thread zzl
for passing extra arguments to the mapping function. In my scenario, after each map I update parameters, which I want to use in the folllowning new iteration of mapping. Any idea? Thanks in advance. -Tassilo -- View this message in context: http://apache-spark-user-list.1001560.n3

Re: Mapping with extra arguments

2014-08-21 Thread Mayur Rustagi
://www.sigmoidanalytics.com @mayur_rustagi https://twitter.com/mayur_rustagi On Thu, Aug 21, 2014 at 12:03 PM, TJ Klein tjkl...@gmail.com wrote: Hi, I am using Spark in Python. I wonder if there is a possibility for passing extra arguments to the mapping function. In my scenario, after each map I update

Re: Mapping with extra arguments

2014-08-21 Thread TJ Klein
Thanks for the nice example. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Mapping-with-extra-arguments-tp12541p12549.html Sent from the Apache Spark User List mailing list archive at Nabble.com