Hi all, I'm trying to play with a spark cluster with one master and one worker on my laptop. With my setup, I'm able to run the examples that come with spark as expected. For example with SparkPi
./bin/run-example org.apache.spark.examples.SparkPi spark://luigi:7077 works without error. But when I try run the same example in a separate project build with sbt run I got the following error : INFO client.AppClient$ClientActor: Connecting to master spark://luigi:7077... 14/03/12 22:40:37 WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory 14/03/12 22:40:52 ERROR client.AppClient$ClientActor: All masters are unresponsive! Giving up. 14/03/12 22:40:52 ERROR cluster.SparkDeploySchedulerBackend: Spark cluster looks dead, giving up. 14/03/12 22:40:52 INFO scheduler.TaskSchedulerImpl: Remove TaskSet 0.0 from pool 14/03/12 22:40:52 INFO scheduler.DAGScheduler: Failed to run reduce at SparkPi.scala:35 [error] (run-main-0) org.apache.spark.SparkException: Job aborted: Spark cluster looks down org.apache.spark.SparkException: Job aborted: Spark cluster looks down at org.apache.spark.scheduler.DAGScheduler$$anonfun$org$apache$spark$scheduler$DAGScheduler$$abortStage$1.apply(DAGScheduler.scala:1028) at org.apache.spark.scheduler.DAGScheduler$$anonfun$org$apache$spark$scheduler$DAGScheduler$$abortStage$1.apply(DAGScheduler.scala:1026) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) at org.apache.spark.scheduler.DAGScheduler.org $apache$spark$scheduler$DAGScheduler$$abortStage(DAGScheduler.scala:1026) at org.apache.spark.scheduler.DAGScheduler$$anonfun$processEvent$10.apply(DAGScheduler.scala:619) at org.apache.spark.scheduler.DAGScheduler$$anonfun$processEvent$10.apply(DAGScheduler.scala:619) at scala.Option.foreach(Option.scala:236) at org.apache.spark.scheduler.DAGScheduler.processEvent(DAGScheduler.scala:619) at org.apache.spark.scheduler.DAGScheduler$$anonfun$start$1$$anon$2$$anonfun$receive$1.applyOrElse(DAGScheduler.scala:a207) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [trace] Stack trace suppressed: run last compile:run for the full output. 14/03/12 22:40:52 INFO network.ConnectionManager: Selector thread was interrupted! The content of my build.sbt is as follow : name := "spark-playground" version := "1.0" scalaVersion := "2.10.3" libraryDependencies += "org.apache.spark" %% "spark-core" % "0.9.0-incubating" resolvers += "Akka Repository" at "http://repo.akka.io/releases/" Any idea ?