Did you try it with just: (comment out line 27)
println Count of spark: + file.filter({s - s.contains('spark')}).count()
Thanks
Best Regards
On Sun, Jul 26, 2015 at 12:43 AM, tog guillaume.all...@gmail.com wrote:
Hi
I have been using Spark for quite some time using either scala or python.
Hi Akhil
I have it working now with Groovy REPL in a form similar to the one you are
mentionning. Still I dont understand why the previous form (with the Function)
is raising that exception.
Cheers
Guillaume
On 28 July 2015 at 08:56, Akhil Das ak...@sigmoidanalytics.com wrote:
Did you try it
Hi
I have been using Spark for quite some time using either scala or python. I
wanted to give a try to groovy through scripts for small tests.
Unfortunately I get the following exception (using that simple script
https://gist.github.com/galleon/d6540327c418aa8a479f)
Is there anything I am not