ClassNotFoundException: PRCombiner

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ClassNotFoundException: PRCombiner

Tsai Li Ming
Hi,

While running the Bagel’s Wikipedia Page Rank example (org.apache.spark.examples.bagel.WikipediaPageRank), it is having this error at the end:
org.apache.spark.SparkException: Job aborted: Task 3.0:4 failed 4 times (most recent failure: Exception failure: java.lang.ClassNotFoundException: org.apache.spark.examples.bagel.PRCombiner)
        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:207)
        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)
14/02/04 09:56:34 INFO TaskSetManager: Starting task 4.0:2 as TID 170 on executor 0: oct1 (NODE_LOCAL)
14/02/04 09:56:34 INFO TaskSetManager: Serialized task 4.0:2 as 1754 bytes in 0 ms
14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 147 because its task set is gone
14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 148 because its task set is gone
14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state FAILED from TID 147 because its task set is gone
14/02/04 09:56:34 INFO TaskSetManager: Starting task 4.0:3 as TID 171 on executor 2: oct2 (NODE_LOCAL)
14/02/04 09:56:34 INFO TaskSetManager: Serialized task 4.0:3 as 1754 bytes in 0 ms
14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 149 because its task set is gone
14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 150 because its task set is gone
14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state FAILED from TID 148 because its task set is gone

I’m using 0.9.0.

Thanks!

Reply | Threaded
Open this post in threaded view
|

Re: ClassNotFoundException: PRCombiner

Tsai Li Ming

On 4 Feb, 2014, at 10:08 am, Tsai Li Ming <[hidden email]> wrote:

> Hi,
>
> While running the Bagel’s Wikipedia Page Rank example (org.apache.spark.examples.bagel.WikipediaPageRank), it is having this error at the end:
> org.apache.spark.SparkException: Job aborted: Task 3.0:4 failed 4 times (most recent failure: Exception failure: java.lang.ClassNotFoundException: org.apache.spark.examples.bagel.PRCombiner)
> 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:207)
> 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)
> 14/02/04 09:56:34 INFO TaskSetManager: Starting task 4.0:2 as TID 170 on executor 0: oct1 (NODE_LOCAL)
> 14/02/04 09:56:34 INFO TaskSetManager: Serialized task 4.0:2 as 1754 bytes in 0 ms
> 14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 147 because its task set is gone
> 14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 148 because its task set is gone
> 14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state FAILED from TID 147 because its task set is gone
> 14/02/04 09:56:34 INFO TaskSetManager: Starting task 4.0:3 as TID 171 on executor 2: oct2 (NODE_LOCAL)
> 14/02/04 09:56:34 INFO TaskSetManager: Serialized task 4.0:3 as 1754 bytes in 0 ms
> 14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 149 because its task set is gone
> 14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state RUNNING from TID 150 because its task set is gone
> 14/02/04 09:56:34 INFO TaskSchedulerImpl: Ignoring update with state FAILED from TID 148 because its task set is gone
>
> I’m using 0.9.0.
>
> Thanks!
>

The stdout is available here: http://pastebin.com/T1wYB9mh

There are a few more exceptions during the run:
java.lang.ClassNotFoundException: org.apache.spark.examples.bagel.WikipediaPageRank$$anonfun$1

Regards,
Liming