Spark error in execution

2014-11-24 Thread Blackeye
I created an application in spark. When I run it with spark, everything works fine. But when I export my application with the libraries (via sbt), and trying to run it as an executable jar, I get the following error: 14/11/24 20:06:11 ERROR OneForOneStrategy: exception during creation akka.actor.A

Slow performance in spark streaming

2014-11-20 Thread Blackeye
I am using spark streaming 1.1.0 locally (not in a cluster). I created a simple app that parses the data (about 10.000 entries), stores it in a stream and then makes some transformations on it. Here is the code: /def main(args : Array[String]){ val master = "local[8]" val conf = new Spark

Re: Filter function problem

2014-09-09 Thread Blackeye
In order to help anyone to answer i could say that i checked the inactiveIDs.filter operation seperated, and I found that it doesn't return null in any case. In addition i don't how to handle (or check) whether a RDD is null. I find the debugging to complicated to point the error. Any ideas how to

Filter function problem

2014-09-09 Thread Blackeye
I have the following code written in scala in Spark: (inactiveIDs is a RDD[(Int, Seq[String])], persons is a Broadcast[RDD[(Int, Seq[Event])]] and Event is a class that I have created) val test = persons.value .map{tuple => (tuple._1, tuple._2 .filter{event => inactiveIDs.filter(event2 => eve