Hi I have trouble executing a really simple Java job on spark 1.0.0-cdh5.1.0 that runs inside a docker container:
SparkConf sparkConf = new
SparkConf().setAppName("TestApplication").setMaster("spark://localhost:7077");
JavaSparkContext ctx = new JavaSparkContext(sparkConf);
JavaRDD<String> lines =
ctx.textFile("hdfs://localhost:8020/tmp/hbase-env.sh", 1);
Everything seems fine until the job is handed over to the worker. Seems
like the job is rejected for some reason but the logs are _very_ quiet,
giving no clue of what's wrong, making it hard to find the source of the
problem.
I have attached the logs from the client, master and worker.
Any pointers?
Cheers,
-Kristoffer
ala:633)
at
org.apache.spark.scheduler.DAGSchedulerEventProcessActor$$anonfun$receive$2.applyOrElse(DAGScheduler.scala:1207)
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)
spark-master.out
Description: Binary data
spark-worker.out
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
