You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Peter Zhang <zh...@gmail.com> on 2014/11/13 15:14:18 UTC

question about SimpleMutateGraphVertex

Hi:
   I am runing giraph with the SimpleMutateGraphVertex in local mode ,but
when I look the tasklog ,it shows :

2014-11-13 21:46:32,572 ERROR
org.apache.giraph.utils.LogStacktraceCallable: Execution of callable
failed
java.lang.ClassCastException:
org.apache.giraph.worker.DefaultWorkerContext cannot be cast to
org.apache.giraph.examples.SimpleMutateGraphVertex$SimpleMutateGraphVertexWorkerContext
	at org.apache.giraph.examples.SimpleMutateGraphVertex.compute(SimpleMutateGraphVertex.java:58)
	at org.apache.giraph.graph.ComputeCallable.computePartition(ComputeCallable.java:234)
	at org.apache.giraph.graph.ComputeCallable.call(ComputeCallable.java:162)
	at org.apache.giraph.graph.ComputeCallable.call(ComputeCallable.java:1)
	at org.apache.giraph.utils.LogStacktraceCallable.call(LogStacktraceCallable.java:51)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)

Why, Could you help me??