Re: Actors and sparkcontext actions

2014-03-04 Thread Ognen Duzlevski
Deb, On 3/4/14, 9:02 AM, Debasish Das wrote: Hi Ognen, Any particular reason of choosing scalatra over options like play or spray ? Is scalatra much better in serving apis or is it due to similarity with ruby's sinatra ? Did you try the other options and then pick scalatra ? Not really. I

Re: Actors and sparkcontext actions

2014-03-04 Thread Debasish Das
gt;> >> Thanks and Regards, >> Suraj Sheth >> >> >> -----Original Message- >> From: Ognen Duzlevski [mailto:og...@nengoiksvelzud.com] >> Sent: 27 February 2014 01:09 >> To: u...@spark.incubator.apache.org >> Subject: Actors and sparkconte

Re: Actors and sparkcontext actions

2014-03-04 Thread Ognen Duzlevski
def count(){ println(rdd.count) //do the counting } } Thanks and Regards, Suraj Sheth -Original Message- From: Ognen Duzlevski [mailto:og...@nengoiksvelzud.com] Sent: 27 February 2014 01:09 To: u...@spark.incubator.apache.org Subject: Actors and sparkcontext actions Can

RE: Actors and sparkcontext actions

2014-03-04 Thread Suraj Satishkumar Sheth
and sparkcontext actions Can someone point me to a simple, short code example of creating a basic Actor that gets a context and runs an operation such as .textFile.count? I am trying to figure out how to create just a basic actor that gets a message like this: case class Msg(filename:String, ctx

Actors and sparkcontext actions

2014-02-26 Thread Ognen Duzlevski
Can someone point me to a simple, short code example of creating a basic Actor that gets a context and runs an operation such as .textFile.count? I am trying to figure out how to create just a basic actor that gets a message like this: case class Msg(filename:String, ctx: SparkContext) and th